Gareth Rees
da307afb81
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
93a79ac8a6
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
0353e7c200
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
a237ef8cfa
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
425efaffb3
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
13da97d0f2
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
c4d25ec6e6
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
de3c5202f9
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
22b0358048
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
e64cb01f87
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
fbe4595319
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
46b61473a9
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
9de27a07a8
Fixing compilation errors on w3i6mv.
...
Copied from Perforce
Change: 179147
ServerID: perforce.ravenbrook.com
2012-08-31 20:56:42 +01:00
Richard Brooksby
6d6f88608f
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
c4c3595fb8
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
09dc2bca88
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
a7a9ed15ff
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
84eedf29b0
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
4e8ff21a10
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
2208e93639
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
7d28876904
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
71d487d995
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
7fe52ea4bd
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
0506bc8cbf
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
3208f37aef
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
76ab2591ef
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
d3a49735dc
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
30283c6f11
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
f8dcadb1b1
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
4e270b68fa
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
78ef580722
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
97075f7053
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
a0f676c8e1
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
4301a6db0a
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
db4b3a6fa5
Remove trailing whitespace.
...
Copied from Perforce
Change: 25309
ServerID: perforce.ravenbrook.com
2001-12-17 15:18:17 +00:00
Richard Brooksby
c0bb4cd3cd
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
3d5e2ca85f
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
b824e1c406
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
2589307099
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
492dd3c684
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
7acfca905d
Branch imports for masters.
...
Copied from Perforce
Change: 23678
ServerID: perforce.ravenbrook.com
2001-10-31 14:40:56 +00:00