Gareth Rees
f47c389a52
Fix indentation of second clause of license.
2020-08-30 10:13:06 +01:00
Gareth Rees
af0f431eda
Use https: instead of http: when linking to the ravenbrook web site.
2020-08-30 10:13:03 +01:00
Peter Jackson
4de2606846
Publish licence updates in code directory.
...
Publish minor changes to readme and configure files in main directory.
Main directory and code directory licence texts are now fully updated.
Copied from Perforce
Change: 196994
2020-06-11 17:05:40 +01:00
Gareth Rees
4eda4e85c7
Use tags with dots; regularize design references from code.
...
Copied from Perforce
Change: 195761
2018-11-29 17:12:29 +00:00
Gareth Rees
1ec8c4a141
Improve handling of telemetry events on the critical path:
...
1. Being on the critical path is a property of the code location where the event is emitted, not of the event type, so indicate this using EVENT_CRITICAL macros rather than a field in the event table.
2. Compile out events on the critical path in hot varieties.
3. Remove TraceFixWhite event (redundant with TraceFixSeg).
4. No need for special handling of PoolFree event -- this are already skipped in hot varieties by dispatching directly to the pool class via PoolFreeMacro.
Copied from Perforce
Change: 195261
2018-10-15 14:22:16 +01:00
Gareth Rees
cbf9885146
Document the event parameters.
...
Split event ArenaAccess into ArenaAccessBegin and ArenaAccessEnd to avoid the need for the count field.
New events SegReclaim and SegScan.
Delete some redundant events: AMCFinish (PoolFinish), AMCFix, AMCFixForward, AMCFixInPlace (TraceFix), AMCGenCreate (GenInit), AMCGenDestroy (GenFinish), AMCInit (PoolInitAMC), AMCReclaim (SegReclaim), AMCScanBegin, AMCScanEnd (SegScan), ArenaWriteFaults (ArenaAccessBegin), PoolInitMV, TraceScanSeg (SegScan).
Add result code field to events ArenaAllocFail, CommitLimitSet, SegAllocFail.
Remove arena field from events PoolInitAMS, PoolInitMFS, PoolInitMVFF (already appeared in generic PoolInit event).
Copied from Perforce
Change: 195247
2018-10-14 14:04:40 +01:00
Gareth Rees
49b2c3606f
Documentation for event header fields.
...
Copied from Perforce
Change: 194113
2018-06-23 15:51:26 +01:00
Gareth Rees
bb5034594d
Event alignment doesn't need to be mps_pf_align (that's wasteful on windows).
...
Copied from Perforce
Change: 194091
2018-06-22 14:09:56 +01:00
Gareth Rees
5cc5bb5922
Don't store booleans as bit-fields in event structures: this makes it impossible to automatically unpack them using python's struct module. (the only event where this actually saved any space was poolinitmvff!)
...
Update event format to 2.0.0 since telemetry format changed.
New macro EVENT_ANY_FIELDS allows consumers to determine the layout of the event header.
mpseventpy now analyzes the event layout (including padding bytes) and emits struct format specifications.
New program tool/monitor.py reads and unpacks a stream of telemetry events.
Copied from Perforce
Change: 194026
2018-06-20 15:51:38 +01:00
Gareth Rees
ab57c07df5
Turn on -wduplicate-enum and -wmissing-variable-declarations options for clang. ensure the mps compiles with these options.
...
Copied from Perforce
Change: 185466
ServerID: perforce.ravenbrook.com
2014-04-11 15:17:20 +01:00
Gareth Rees
391e7e6c83
Add -wconversion to the options for gcc. ensure that the mps builds.
...
Copied from Perforce
Change: 185463
ServerID: perforce.ravenbrook.com
2014-04-11 14:25:15 +01:00
Richard Brooksby
7f7adfd63d
Moving the platform-dependent event clock to its own header, preparing to generalise it for other purposes.
...
Copied from Perforce
Change: 179501
ServerID: perforce.ravenbrook.com
2012-09-15 14:52:06 +01:00
Richard Brooksby
6fa2274e58
The alignment declspec isn't supported by msvc 6 anyway.
...
Copied from Perforce
Change: 179449
ServerID: perforce.ravenbrook.com
2012-09-12 19:16:53 +01:00
Richard Brooksby
5a2c98c2ca
Another attempt at a patch for the event clock for really old versions of microsoft c.
...
Copied from Perforce
Change: 179445
ServerID: perforce.ravenbrook.com
2012-09-12 16:06:53 +01:00
Richard Brooksby
ebfd52068a
Removing dependency on microsoft c run-time __aullshr by treating the event clock as a struct in some circumstances.
...
Copied from Perforce
Change: 179444
ServerID: perforce.ravenbrook.com
2012-09-12 14:21:35 +01:00
Richard Brooksby
fdc6f3ba6b
Patching eventcom.h to provide a fast event clock on old versions of microsoft c.
...
Copied from Perforce
Change: 179431
ServerID: perforce.ravenbrook.com
2012-09-11 18:03:28 +01:00
Richard Brooksby
5054188202
Allowing mps_telemetry_control to be a space-separated list of event kind names defined in eventkindenum.
...
Copied from Perforce
Change: 179363
ServerID: perforce.ravenbrook.com
2012-09-08 02:51:48 +01:00
Richard Brooksby
869bf43521
Responding to nb's review comments.
...
Copied from Perforce
Change: 179335
ServerID: perforce.ravenbrook.com
2012-09-07 15:46:18 +01:00
Richard Brooksby
70c510c23e
Responding to dl's review comments. mostly clarifications.
...
Copied from Perforce
Change: 179280
ServerID: perforce.ravenbrook.com
2012-09-05 19:02:44 +01:00
Richard Brooksby
f11aad1d62
Fixing warnings found by lii6gc build.
...
Copied from Perforce
Change: 179149
ServerID: perforce.ravenbrook.com
2012-08-31 21:27:55 +01:00
Richard Brooksby
d5b93a3a7b
Tidying up platform conditionals that define event clock.
...
Copied from Perforce
Change: 179148
ServerID: perforce.ravenbrook.com
2012-08-31 20:58:30 +01:00
Richard Brooksby
40216a2e90
Fixing compilation errors on w3i6mv.
...
Copied from Perforce
Change: 179147
ServerID: perforce.ravenbrook.com
2012-08-31 20:56:42 +01:00
Richard Brooksby
589a6aa3f6
Simplifying event string fields to be just c strings.
...
Copied from Perforce
Change: 179142
ServerID: perforce.ravenbrook.com
2012-08-31 19:53:44 +01:00
Richard Brooksby
24eb124aa4
Now there is no measurable performance penalty for events, they're on in all varieties (except we).
...
Copied from Perforce
Change: 179137
ServerID: perforce.ravenbrook.com
2012-08-31 16:42:17 +01:00
Richard Brooksby
09cf2f4f37
Writing event dumper to print recent events, and adding it to the default assertion handler.
...
NUL-terminating event strings to make them easier to print.
Copied from Perforce
Change: 179132
ServerID: perforce.ravenbrook.com
2012-08-31 14:12:23 +01:00
Richard Brooksby
477d5f3cc2
Recording events downwards from the top of the buffer so that they can be recovered by a backtrace.
...
Copied from Perforce
Change: 179131
ServerID: perforce.ravenbrook.com
2012-08-31 13:18:19 +01:00
Richard Brooksby
756742c46c
Adding consistency checks of the event definitions.
...
Tidying up comments and declaration order.
Copied from Perforce
Change: 179125
ServerID: perforce.ravenbrook.com
2012-08-31 10:33:46 +01:00
Richard Brooksby
f48c8cd039
Adding packed boolean event parameter type, partly to suppress warnings.
...
Copied from Perforce
Change: 179124
ServerID: perforce.ravenbrook.com
2012-08-31 05:17:20 +01:00
Richard Brooksby
9a8122b699
Eliminating old count and format columns from event definitions.
...
Copied from Perforce
Change: 179123
ServerID: perforce.ravenbrook.com
2012-08-31 04:38:42 +01:00
Richard Brooksby
a327f0cd7e
Expanded event parameters into separate macros annotated with parameter names, simplifying event definition macros.
...
Copied from Perforce
Change: 179122
ServerID: perforce.ravenbrook.com
2012-08-31 04:25:18 +01:00
Richard Brooksby
6ced7e36b8
Fixing further pedantic compilation issues on xci3gc.
...
Copied from Perforce
Change: 179057
ServerID: perforce.ravenbrook.com
2012-08-26 17:07:32 +01:00
Richard Brooksby
4311e93f88
Fixing compilation of event_clock on pedantic gcc, specifically xci3gc.
...
Copied from Perforce
Change: 179056
ServerID: perforce.ravenbrook.com
2012-08-26 16:44:17 +01:00
Richard Brooksby
d9322c5afb
Using fast clock to timestamp events, making event logging much quicker.
...
Copied from Perforce
Change: 179055
ServerID: perforce.ravenbrook.com
2012-08-26 15:31:40 +01:00
Richard Brooksby
0017b1b4a7
Moving event emitting macros from eventcom.h to event.h, as they aren't used except in the mps.
...
Tidying up the way event field addresses are fetched to do all the work during compilation and not emit scads of branches.
Copied from Perforce
Change: 179053
ServerID: perforce.ravenbrook.com
2012-08-26 14:43:35 +01:00
Richard Brooksby
0de90204e0
Adding a size field to events so that a reader can skip unknown event codes (unimplemented).
...
Copied from Perforce
Change: 179019
ServerID: perforce.ravenbrook.com
2012-08-22 09:16:03 +01:00
Richard Brooksby
021e170720
Switching eventtypes (large hex constants) to codes (16-bit ids).
...
Copied from Perforce
Change: 179018
ServerID: perforce.ravenbrook.com
2012-08-22 09:03:25 +01:00
Richard Brooksby
deae9bd42b
Moving some common definitions to eventcom.h from event.h.
...
Fixing the types of EventCode etc. to use narrower types to compress things on 64-bit architectures.
Fixing some warnings.
Copied from Perforce
Change: 179015
ServerID: perforce.ravenbrook.com
2012-08-22 08:41:42 +01:00
Richard Brooksby
c827b1323f
Subsuming eventgen.h into eventcom.h, now that it's no longer generated.
...
Copied from Perforce
Change: 179012
ServerID: perforce.ravenbrook.com
2012-08-22 07:53:24 +01:00
Richard Kistruck
bac3560c2e
mps br/timing: tabs in header files. (p4 diff -db -- confirms whitespace changes only).
...
Copied from Perforce
Change: 166674
ServerID: perforce.ravenbrook.com
2008-11-07 13:58:56 +00:00
Richard Brooksby
f22e14e334
Eliminating "impl" type tags and replacing them with uri-style file references.
...
Copied from Perforce
Change: 29900
ServerID: perforce.ravenbrook.com
2002-06-07 17:34:59 +01:00
Richard Brooksby
0a95c05521
Updating cross references to design documents to html style, to go with master/design document tree.
...
Copied from Perforce
Change: 29897
ServerID: perforce.ravenbrook.com
2002-06-07 16:47:14 +01:00
Richard Brooksby
5afb4899ef
Adding forward reference to licenses from copyright notices.
...
Adding licenses to a couple of files I missed.
Copied from Perforce
Change: 29837
ServerID: perforce.ravenbrook.com
2002-06-06 11:56:19 +01:00
Richard Brooksby
819ed0ed76
Adding licenses to source code files.
...
Copied from Perforce
Change: 29836
ServerID: perforce.ravenbrook.com
2002-06-06 11:44:23 +01:00
Nick Barnes
ab0821c590
Remove trailing whitespace.
...
Copied from Perforce
Change: 25309
ServerID: perforce.ravenbrook.com
2001-12-17 15:18:17 +00:00
Richard Brooksby
c2b33bb9b5
Removing hopenames from the master sources.
...
This change will be integrated but ignored (-ay) to the gg-epcore/union sources, so that they retain HopeNames.
Copied from Perforce
Change: 24911
ServerID: perforce.ravenbrook.com
2001-12-07 13:19:25 +00:00
Richard Brooksby
d0ccf8fa9a
Adding hopenames back into the master sources, so that they can be included in the union sources along with the id keywords.
...
This was achieved by partially undoing changelist 24817, including an accidental corruption of eventgen.pl.
Copied from Perforce
Change: 24877
ServerID: perforce.ravenbrook.com
2001-12-06 18:14:02 +00:00
Richard Brooksby
c84f2a8553
Updating copyright messages to say copyright 2001 ravenbrook throughout.
...
Adding some missing copyright messages.
Copied from Perforce
Change: 24818
ServerID: perforce.ravenbrook.com
2001-12-05 16:18:43 +00:00
Richard Brooksby
e0a5828027
Changing hopename keywords to id keywords throughout, to work with perforce.
...
Copied from Perforce
Change: 24817
ServerID: perforce.ravenbrook.com
2001-12-05 16:05:52 +00:00
Richard Brooksby
68e0b8253f
Merging changes from union to masters. this incorporates pekka's updates: tuning and a type in amcsshe.c and some adding some missing checks in arenavm.c. it also brings our cope of their hopenames up to date.
...
Copied from Perforce
Change: 24815
ServerID: perforce.ravenbrook.com
2001-12-05 15:48:24 +00:00
Nick Barnes
88e5e63275
Branch imports for masters.
...
Copied from Perforce
Change: 23678
ServerID: perforce.ravenbrook.com
2001-10-31 14:40:56 +00:00