Richard Kistruck
044ed29e91
Mps br/diag: trace.c: rearrange diag output into new
...
traceFindGrey_diag() function (preparatory to leaving it in when
integrating to master).
Copied from Perforce
Change: 162676
ServerID: perforce.ravenbrook.com
2007-06-28 16:13:13 +01:00
Richard Kistruck
66b64127c6
Mps br/diag: rename a logfile without spaces (so link to it from
...
job001658 gets HTMLised correctly).
Copied from Perforce
Change: 162649
ServerID: perforce.ravenbrook.com
2007-06-22 18:12:23 +01:00
Richard Kistruck
b509a1dfac
Mps br/diag: tracefindgrey configura report.
...
Copied from Perforce
Change: 162648
ServerID: perforce.ravenbrook.com
2007-06-22 18:04:05 +01:00
Richard Kistruck
c333ad1add
mps br/diag: trace.c: (fix w3 build) cast integer character constant to char
...
w3build.bat: prepare for experimental release exp-162647
Copied from Perforce
Change: 162647
ServerID: perforce.ravenbrook.com
2007-06-22 17:19:23 +01:00
Richard Kistruck
d796426ba5
mps br/diag: trace.c: tracefindgrey diag-out:
...
Represent runs of the same rank as "Rx" where R is rank and x is
0..9, a..z (x10), or *. This makes output smaller.
Accumulate report, and only output at end of trace.
Represent "no more grey segs" as ".".
Copied from Perforce
Change: 162644
ServerID: perforce.ravenbrook.com
2007-06-22 16:05:52 +01:00
Richard Kistruck
674c46c848
Mps br/diag: fin1658a: confirms defect described in job001658.
...
Copied from Perforce
Change: 162631
ServerID: perforce.ravenbrook.com
2007-06-21 19:26:00 +01:00
Richard Kistruck
bb72c7075e
Mps br/diag: trace.c: (fix w3 build) cast integer character constant to char
...
Copied from Perforce
Change: 162630
ServerID: perforce.ravenbrook.com
2007-06-21 17:23:01 +01:00
Richard Kistruck
c36e2aa4d2
Mps br/diag: new fin1658a.c -- second test for job001658
...
Copied from Perforce
Change: 162629
ServerID: perforce.ravenbrook.com
2007-06-21 17:12:59 +01:00
Richard Kistruck
b2afb5ac61
Mps br/diag: fint1658.c: (from finalcv) (clarify only) improve
...
hash-def names and comments.
Copied from Perforce
Change: 162628
ServerID: perforce.ravenbrook.com
2007-06-21 17:06:13 +01:00
Richard Kistruck
3d17eed32b
mps br/diag finalcv: (clarify only) improve hash-def names and comments.
...
Copied from Perforce
Change: 162627
ServerID: perforce.ravenbrook.com
2007-06-21 17:02:28 +01:00
Richard Kistruck
2b59688236
Mps br/diag: start to demonstrate job001658 defect:
...
Show that after finding one RankFINAL segment, traceFindGrey then
goes back to RankEXACT segs before tracing the next RankFINAL segment.
Copied from Perforce
Change: 162626
ServerID: perforce.ravenbrook.com
2007-06-21 15:59:33 +01:00
Richard Kistruck
20f675d611
mps br/diag: new fint1658.c: (comment) it doesn't work yet!
...
Copied from Perforce
Change: 162625
ServerID: perforce.ravenbrook.com
2007-06-21 14:25:31 +01:00
Richard Kistruck
e89285a293
Mps br/diag: new fint1658.c: test for job001658, finalization promptness
...
Copied from Perforce
Change: 162624
ServerID: perforce.ravenbrook.com
2007-06-21 14:23:03 +01:00
Richard Kistruck
4d22c6b819
mps br/diag: (whitespace only) remove tabs from trace.c
...
Copied from Perforce
Change: 162615
ServerID: perforce.ravenbrook.com
2007-06-20 15:49:07 +01:00
Richard Kistruck
46a9e84c2c
Mps br/diag: (whitespace only) remove tabs from poolmrg.c
...
Copied from Perforce
Change: 162614
ServerID: perforce.ravenbrook.com
2007-06-20 15:41:18 +01:00
Richard Kistruck
29b7c88681
Mps br/diag fint1658.c: new finalization test, with guardians on
...
more than one seg.
Copied from Perforce
Change: 162612
ServerID: perforce.ravenbrook.com
2007-06-20 14:58:31 +01:00
Richard Kistruck
3dc07c2722
Mps br/diag finalcv: (comments only) add comments.
...
Copied from Perforce
Change: 162611
ServerID: perforce.ravenbrook.com
2007-06-20 14:44:16 +01:00
Richard Kistruck
4d7b662267
Mps br/diag finalcv and fmtdytst: (comments only) add comments.
...
Copied from Perforce
Change: 162608
ServerID: perforce.ravenbrook.com
2007-06-20 13:42:01 +01:00
Richard Kistruck
c1685ecb6f
Mps br/diag finalcv.c: (from master) removing epcore #ifdef that we can't test.
...
Copied from Perforce
Change: 162607
ServerID: perforce.ravenbrook.com
2007-06-20 12:58:55 +01:00
David Jones
e1bb748953
Mps: removing epcore #ifdef that we can't test.
...
Copied from Perforce
Change: 162479
ServerID: perforce.ravenbrook.com
2007-06-04 13:54:14 +01:00
David Jones
00f0093548
Mps: removing misleading parens around a return expression.
...
Copied from Perforce
Change: 162475
ServerID: perforce.ravenbrook.com
2007-06-04 11:08:24 +01:00
Richard Kistruck
8708f54c3d
Mps br/diag: release exp-162399
...
Copied from Perforce
Change: 162399
ServerID: perforce.ravenbrook.com
2007-05-23 16:56:01 +01:00
Richard Kistruck
de2c83bebe
Mps br/diag: diag in tracestart: show arena->chunkserial, and
...
output why as number (for conciseness).
Copied from Perforce
Change: 162398
ServerID: perforce.ravenbrook.com
2007-05-23 16:54:25 +01:00
Richard Kistruck
45038f2c52
Mps br/diag: back to diag_with_printf again.
...
Copied from Perforce
Change: 162397
ServerID: perforce.ravenbrook.com
2007-05-23 16:39:26 +01:00
Richard Kistruck
4f9f9477e8
Mps br/diag: release exp-162395:
...
Switch from DIAG_WITH_PRINTF to _WITH_STREAM_WRITEF.
(Still just from TraceStart).
Copied from Perforce
Change: 162395
ServerID: perforce.ravenbrook.com
2007-05-23 15:45:32 +01:00
Richard Kistruck
3b402e9189
Mps br/diag: version.c: release = @162393
...
Copied from Perforce
Change: 162393
ServerID: perforce.ravenbrook.com
2007-05-23 14:28:10 +01:00
Richard Kistruck
779bcc1583
Mps br/diag: trace: always diag_printf-out the reason why this
...
trace started. This is just to test the DIAG-out mechanism; it
only affects variety.di.
Copied from Perforce
Change: 162389
ServerID: perforce.ravenbrook.com
2007-05-22 17:49:20 +01:00
Richard Kistruck
6749f30dc0
Mps br/diag: diag-out with writef and diag_stream does not work in cet.
...
Hope to fix in time, but for now I need DIAG-out to work, so switch
to printf (yes, really, I know, sorry).
Also, only do DIAG-out in variety.di, to avoid damage to .ci.
So for now, remove DIAG_WRITEF and DIAG from arenavm and trace.
To test, add DIAG_PRINTF in trace.
Copied from Perforce
Change: 162387
ServerID: perforce.ravenbrook.com
2007-05-21 16:28:50 +01:00
Richard Kistruck
0d0f6def79
Mps br/diag: logrun: append .txt to logfilename; improve comments.
...
Copied from Perforce
Change: 162385
ServerID: perforce.ravenbrook.com
2007-05-21 16:00:38 +01:00
Richard Kistruck
862a02ef1a
Mps br/diag: amcss.c: revert previous change
...
(make initial-size to mps_arena_create comically small,
to prompt VMChunkCreates and occasional MPS_RESERVE_BLOCK: 7's, ie.
commit-limit),
so mps_arena_create asks for 2*testArenaSIZE as before.
Copied from Perforce
Change: 162384
ServerID: perforce.ravenbrook.com
2007-05-21 15:45:12 +01:00
Richard Kistruck
fe7136b27c
Mps br/diag: w3build: rmdir the release directory, before creating and populating it.
...
Copied from Perforce
Change: 162362
ServerID: perforce.ravenbrook.com
2007-05-16 15:44:47 +01:00
Richard Kistruck
6419d79008
Mps br/diag: w3build.bat: only we, hi, di, ci, and rearrange to reduce interleaving of different deliverables.
...
Copied from Perforce
Change: 162244
ServerID: perforce.ravenbrook.com
2007-05-01 12:31:22 +01:00
Richard Kistruck
5c41921474
Mps br/diag: diag-out text + arenadescribe every vmarenaextend,
...
(instead of every VMChunkCreate, which includes when making initial arena)
Copied from Perforce
Change: 162224
ServerID: perforce.ravenbrook.com
2007-04-27 17:23:21 +01:00
Richard Kistruck
637aae736d
Mps br/diag: w3build.bat: drop variety.ii, add variety.di = hot+diagnostics
...
Copied from Perforce
Change: 162223
ServerID: perforce.ravenbrook.com
2007-04-27 16:52:30 +01:00
Richard Kistruck
bd09ac3c18
Mps br/diag: new variety.di: hot+diagnostics
...
Copied from Perforce
Change: 162222
ServerID: perforce.ravenbrook.com
2007-04-27 16:46:51 +01:00
Richard Kistruck
d09f09f787
Mps br/diag: backout change to variety.ii:
...
(was now has DIAGNOSTICS, and no logging;
now: back to CONFIG_LOG, and no diag)
Copied from Perforce
Change: 162221
ServerID: perforce.ravenbrook.com
2007-04-27 16:33:38 +01:00
Richard Kistruck
32b412caea
Mps br/diag: (fix w3*mv builds): add <diag> so diag.c gets compiled.
...
(Part of this was submitted on its own as Changelist 162218 -- oops).
Copied from Perforce
Change: 162219
ServerID: perforce.ravenbrook.com
2007-04-27 16:01:17 +01:00
Richard Kistruck
709a8a20c8
Copied from Perforce
...
Change: 162218
ServerID: perforce.ravenbrook.com
2007-04-27 15:58:55 +01:00
Richard Kistruck
a1372c49f3
Mps br/diag: arenavm.c: fix unused var super in vmarenadescribe
...
Copied from Perforce
Change: 162217
ServerID: perforce.ravenbrook.com
2007-04-27 15:51:31 +01:00
Richard Kistruck
bfce16e989
Mps br/diag: arenavm.c: fix unused var super in vmarenadescribe
...
Copied from Perforce
Change: 162216
ServerID: perforce.ravenbrook.com
2007-04-27 15:49:45 +01:00
Richard Kistruck
597e16d8d4
Mps br/diag: w3build.bat: add variety.ii, currently = hot+diagnostics
...
Copied from Perforce
Change: 162215
ServerID: perforce.ravenbrook.com
2007-04-27 15:45:25 +01:00
Richard Kistruck
b261b142fd
Mps br/diag: variety.ii: now has diagnostics, and no logging (pro tem);
...
mpm.h: DIAG() et al under control of DIAGNOSTICS;
diag.c: under control of DIAGNOSTICS, plus add header and copyright.
Copied from Perforce
Change: 162214
ServerID: perforce.ravenbrook.com
2007-04-27 15:37:16 +01:00
Richard Kistruck
1a9477b2cf
Mps br/diag: pass why reason down to tracestart.
...
Also: DIAG-out TraceStart reason, and -- if a non-monor collection --
DIAG-out an ArenaDescribe.
Copied from Perforce
Change: 162213
ServerID: perforce.ravenbrook.com
2007-04-27 15:04:08 +01:00
Richard Kistruck
2be43e7a67
Mps br/diag: make vmarenadescribe show zones.
...
arena.c: turn off call from ArenaDescribe to GlobalsDescribe,
because it outputs too much stuff (perhaps this change should be
reverted later).
Copied from Perforce
Change: 162212
ServerID: perforce.ravenbrook.com
2007-04-27 15:02:45 +01:00
Richard Kistruck
8e3e85cce0
Mps br/diag: (not for release until diag is off in wi/we):
...
arenavm.c: add DIAG(ArenaDescribe) in VMChunkCreate;
amcss.c: make initial-size to mps_arena_create comically small,
to prompt VMChunkCreates and occasional MPS_RESERVE_BLOCK: 7's
(== commit-limit, which is ok; probably)
Copied from Perforce
Change: 162211
ServerID: perforce.ravenbrook.com
2007-04-27 14:27:40 +01:00
Richard Kistruck
8bc0b88894
Mps br/diag: vmarenadescribe, plus comment in arena.c: .describe.triv.dont-upcall
...
Copied from Perforce
Change: 162210
ServerID: perforce.ravenbrook.com
2007-04-27 14:24:14 +01:00
Richard Kistruck
637f7fa818
Mps br/diag: logrun command arg arg arg --- makes log in ./log/blah
...
Copied from Perforce
Change: 162209
ServerID: perforce.ravenbrook.com
2007-04-27 14:21:43 +01:00
Richard Kistruck
c970fa8f24
Mps buffer.c: cast character-constant expression to (char), to avoid warning from silly w3i3mv compiler:
...
.\buffer.c(155) : warning C4244: '=' : conversion from 'const int ' to 'char ', possible loss of data
Copied from Perforce
Change: 162169
ServerID: perforce.ravenbrook.com
2007-04-19 18:13:52 +01:00
Richard Kistruck
43035a3912
Mps buffer.c: cast character-constant expression to (char), to avoid warning from silly w3i3mv compiler:
...
.\buffer.c(155) : warning C4244: '=' : conversion from 'const int ' to 'char ', possible loss of data
Copied from Perforce
Change: 162167
ServerID: perforce.ravenbrook.com
2007-04-19 17:49:56 +01:00
David Jones
afbf0b8ce7
Mps: diag fixes.
...
Copied from Perforce
Change: 162163
ServerID: perforce.ravenbrook.com
2007-04-19 13:02:21 +01:00