David Jones
b747fa3684
Mps: zoneset added to diag.
...
Copied from Perforce
Change: 162961
ServerID: perforce.ravenbrook.com
2007-07-20 13:10:00 +01:00
David Jones
e6099c5e9c
Mps: int -> index
...
Copied from Perforce
Change: 162958
ServerID: perforce.ravenbrook.com
2007-07-20 11:51:35 +01:00
David Jones
18070fbf2c
Mps: tracestart diag, added poolname and gendesc index.
...
Copied from Perforce
Change: 162957
ServerID: perforce.ravenbrook.com
2007-07-20 11:21:05 +01:00
David Jones
3eefbdd270
Mps: why code in diagnostic, "correct" newsize diagnostics.
...
Copied from Perforce
Change: 162956
ServerID: perforce.ravenbrook.com
2007-07-20 11:09:49 +01:00
David Jones
3684875a0e
Mps: poolgen diags at tracestart.
...
Copied from Perforce
Change: 162955
ServerID: perforce.ravenbrook.com
2007-07-20 10:20:44 +01:00
David Jones
1a86da82cd
Mps: poolgens emitted in diags at tracestart.
...
Copied from Perforce
Change: 162954
ServerID: perforce.ravenbrook.com
2007-07-20 10:02:02 +01:00
David Jones
abaf0b63da
Mps: trace.c formatting changes.
...
Copied from Perforce
Change: 162951
ServerID: perforce.ravenbrook.com
2007-07-19 17:56:04 +01:00
David Jones
1c1c094c01
Mps: added link to job001687
...
Copied from Perforce
Change: 162949
ServerID: perforce.ravenbrook.com
2007-07-19 17:08:35 +01:00
Richard Kistruck
4648dba376
Mps master: diag.c's diag_with_stream_and_writef apparatus: now
...
always present in the source, even for builds (eg. non-diag
varieties) in which it is not invoked. (avoids ranlib warning on
xcppgc).
Copied from Perforce
Change: 162948
ServerID: perforce.ravenbrook.com
2007-07-19 17:03:30 +01:00
Richard Kistruck
3877fc3762
Mps master: trace and poolabs: (comment only) clarify that
...
PoolTrivGrey knows that a white seg is an all-white seg, and
therefore needs no greying.
Copied from Perforce
Change: 162946
ServerID: perforce.ravenbrook.com
2007-07-19 16:50:21 +01:00
David Jones
8d9bda6dc0
Mps: undoing change 162940 using perforce technote 14. no
...
longer needed no that we use the DIAG_DECL macro.
Copied from Perforce
Change: 162945
ServerID: perforce.ravenbrook.com
2007-07-19 16:34:42 +01:00
Richard Kistruck
dd5567680c
Mps master: (fix w3i3mv build) wrap diag-only function declarations
...
(in trace.c) with DIAG_DECL() (from mpm.h).
Copied from Perforce
Change: 162944
ServerID: perforce.ravenbrook.com
2007-07-19 16:25:59 +01:00
David Jones
d5e3d8abb2
Mps: merging branch/2007-07-12/ramprel/ branch.
...
Copied from Perforce
Change: 162941
ServerID: perforce.ravenbrook.com
2007-07-19 15:52:37 +01:00
David Jones
bb16da8996
Mps: adding -no-unused-function to avoid compiler warning.
...
Copied from Perforce
Change: 162940
ServerID: perforce.ravenbrook.com
2007-07-19 15:50:51 +01:00
Richard Kistruck
fb348ac42d
Mps master: poolamc.c: diag out if amcscannailed completed, but had
...
to loop. (A rare event, which might prompt a rare defect to appear).
This is diag developed for job001548, but worth leaving on by default
(in diag varieties only, natch).
Copied from Perforce
Change: 162939
ServerID: perforce.ravenbrook.com
2007-07-19 15:34:51 +01:00
Richard Kistruck
844b22f67c
Mps master: diag_with_stream_and_writef.
...
trace.c: traceFindGrey_diag: wrap calls in DIAG(), prevent report
overflow, reduce report array to 20 chars, and use WriteF.
Copied from Perforce
Change: 162937
ServerID: perforce.ravenbrook.com
2007-07-19 14:38:57 +01:00
Richard Kistruck
1e4221c12f
Mps master: trace.c: (whitespace only) remove tabs, fix style of a comment.
...
Copied from Perforce
Change: 162934
ServerID: perforce.ravenbrook.com
2007-07-18 18:22:10 +01:00
Richard Kistruck
2136259d2a
Mps master: arenavm.c: fix vmarenadescribe to cope with any number
...
of gens, removing hardwired limit of 3.
vmArenaExtend(): diagnostic: report when VM arena is extended (#if0)
Copied from Perforce
Change: 162933
ServerID: perforce.ravenbrook.com
2007-07-18 18:17:55 +01:00
Richard Kistruck
9f9a5d338b
Mps master: poolamc.c: wrap lines at 72 (or 71, oops)
...
Copied from Perforce
Change: 162932
ServerID: perforce.ravenbrook.com
2007-07-18 17:55:13 +01:00
Richard Kistruck
21f2f9b8c0
Mps master: (after merge from br/diag):
...
w3build.bat: also build variety.di.
delete fint1658.c (superseded by fin1658a.c), and remove it from
comm.gmk and commpost.nmk
Copied from Perforce
Change: 162930
ServerID: perforce.ravenbrook.com
2007-07-18 17:19:00 +01:00
David Jones
5827772eed
Mps: oopsie, this didn't compile before, but now does.
...
Copied from Perforce
Change: 162928
ServerID: perforce.ravenbrook.com
2007-07-18 17:10:27 +01:00
David Jones
ae858dd9c8
Mps: moved backslashes, added undef.
...
Copied from Perforce
Change: 162927
ServerID: perforce.ravenbrook.com
2007-07-18 15:27:54 +01:00
David Jones
56029c8542
Mps: ti and wi replaced by di and we as default varieties
...
Copied from Perforce
Change: 162918
ServerID: perforce.ravenbrook.com
2007-07-17 12:32:00 +01:00
David Jones
91097988aa
Mps: experimental conversion to relational macros.
...
Copied from Perforce
Change: 162916
ServerID: perforce.ravenbrook.com
2007-07-17 11:21:33 +01:00
David Jones
f9ee5e66fc
Mps: renamed amc ramp enum.
...
Copied from Perforce
Change: 162879
ServerID: perforce.ravenbrook.com
2007-07-12 16:27:50 +01:00
David Jones
32352a04b8
Mps: grafting style branch back onto master:
...
p4 integ branch/2007-06-26/style/... master/...
p4 resolve -as master/...
Copied from Perforce
Change: 162873
ServerID: perforce.ravenbrook.com
2007-07-12 15:55:00 +01:00
David Jones
0a13a65669
Mps: better style.
...
Copied from Perforce
Change: 162871
ServerID: perforce.ravenbrook.com
2007-07-12 15:47:02 +01:00
David Jones
6018a84ac0
Mps: better c style.
...
Copied from Perforce
Change: 162854
ServerID: perforce.ravenbrook.com
2007-07-11 12:41:04 +01:00
David Jones
6cdffe02ad
Mps: using #if 0 to comment out code.
...
Copied from Perforce
Change: 162842
ServerID: perforce.ravenbrook.com
2007-07-10 14:45:53 +01:00
David Jones
e48dcde8fe
Mps: removing unused traceband stuff introduced by
...
branch/2007-04-18/diag/...
This was merged onto master by change 162839, but I, drj, felt
it was simpler to remove it in a separate change.
Copied from Perforce
Change: 162841
ServerID: perforce.ravenbrook.com
2007-07-10 14:42:11 +01:00
David Jones
f3d801bd0a
Mps: grafting branch/2007-04-18/diag/... into master/...
...
p4 integ branch/2007-04-18/diag/... master/...
p4 resolve -as master/...
Non -as resolves:
design/index.html - easy dirty merge
code/w3build.bat -ay
code/version.c -ay
code/comm.gmk -at
code/commpost.nmk -at
code/poolmrg.c -am
code/trace.c -at
mpmtypes has unwanted code from the merge, this will be cleaned
up in another change (it's just simpler that way).
Copied from Perforce
Change: 162839
ServerID: perforce.ravenbrook.com
2007-07-10 14:36:32 +01:00
David Jones
9e7cfb2424
Mps: minor edit to comment in ssixi3.c
...
Copied from Perforce
Change: 162832
ServerID: perforce.ravenbrook.com
2007-07-09 17:12:57 +01:00
Richard Kistruck
c96b49168c
Mps master: version.c, w3build.bat, hello-world: for 1.108.0
...
Copied from Perforce
Change: 162801
ServerID: perforce.ravenbrook.com
2007-07-06 16:09:32 +01:00
David Jones
82ae6773bf
Mps: style improvements.
...
Copied from Perforce
Change: 162774
ServerID: perforce.ravenbrook.com
2007-07-05 14:22:42 +01:00
Richard Kistruck
7d3a1a2f8e
Mps br/diag: exp-162759: w3build & version.c
...
Copied from Perforce
Change: 162759
ServerID: perforce.ravenbrook.com
2007-07-04 15:26:55 +01:00
Richard Kistruck
7705dc18a0
mps br/diag: destructive integration:
...
Integrate trace.chttps://github.com/Ravenbrook/mps/issues/2,https://github.com/Ravenbrook/mps/issues/8 and mpmst.hhttps://github.com/Ravenbrook/mps/issues/2,https://github.com/Ravenbrook/mps/issues/3 from br/band.
(Removes all previous changes to trace.c in br/diag)
(Consequent change to TraceStart() fn-type in mpm.h)
(Consequent re-introduction of tabs in trace.c)
Then further:
Add in traceFindGrey_diag(), from trace.chttps://github.com/Ravenbrook/mps/issues/15 in br/diag,
to give output showing sequence of seg-ranks returned by
traceFindGrey.
Copied from Perforce
Change: 162758
ServerID: perforce.ravenbrook.com
2007-07-04 15:17:59 +01:00
David Jones
21484f6da2
Mps: more checking.
...
Copied from Perforce
Change: 162742
ServerID: perforce.ravenbrook.com
2007-07-03 15:44:24 +01:00
David Jones
7908d6aa57
Mps: tracefindgrey checks as per its comment.
...
Copied from Perforce
Change: 162736
ServerID: perforce.ravenbrook.com
2007-07-03 15:01:48 +01:00
David Jones
51bd477f2e
Mps: comments on what checks we make in tracefindgrey. no
...
checks yet.
Copied from Perforce
Change: 162734
ServerID: perforce.ravenbrook.com
2007-07-03 14:32:52 +01:00
David Jones
7773d68852
Mps: tracebandincrement renamed to tracebandadvance.
...
Copied from Perforce
Change: 162732
ServerID: perforce.ravenbrook.com
2007-07-03 14:00:20 +01:00
David Jones
918820829c
Mps: implements better band tracing.
...
Copied from Perforce
Change: 162718
ServerID: perforce.ravenbrook.com
2007-07-02 16:10:48 +01:00
David Jones
7fea55b7c8
Mps: added band field to tracestruct. unused.
...
Copied from Perforce
Change: 162717
ServerID: perforce.ravenbrook.com
2007-07-02 15:43:34 +01:00
David Jones
4419b49dc0
Mps: more correct c style in trace.c immediately prior to
...
editing it.
Copied from Perforce
Change: 162716
ServerID: perforce.ravenbrook.com
2007-07-02 15:21:04 +01:00
David Jones
7b93cc88d9
Mps: cherry picked test from diag branch. bit tricky:
...
p4 integ 2007-04-18/diag/code/fin1658a.c 2007-07-02/band/code/fin1658a.c
p4 integ '2007-04-18/diag/code/comm*mk'@162631,162631 '2007-07-02/band/code/comm*mk'
(latter integ was dirty. Effect is to add fin1658a as a target
Copied from Perforce
Change: 162710
ServerID: perforce.ravenbrook.com
2007-07-02 12:06:34 +01:00
Richard Kistruck
16ddbe30bc
Mps br/diag: trace: new field in tracestruct: traceband band for
...
current band (eg via-F) of trace. Fix for job001658.
Copied from Perforce
Change: 162696
ServerID: perforce.ravenbrook.com
2007-06-29 17:17:00 +01:00
Richard Kistruck
7d5719014d
Mps br/diag: config.h: translate config_debug to config_stats,
...
because that's what it means. It's got nothing to do with debugging!
Note: this affects MPS_VARIETY_STRING, and version.c#MPSVersionString.
Copied from Perforce
Change: 162693
ServerID: perforce.ravenbrook.com
2007-06-29 14:26:50 +01:00
Richard Kistruck
b44832b7f6
Mps br/diag: rename #def "diagnostics" as "statistics", as all the
...
macros it controls are called "STATISTIC_blah", and same replacement
in comments. The term "diagnostic" means something else now: see
design/diag/.
Copied from Perforce
Change: 162692
ServerID: perforce.ravenbrook.com
2007-06-29 14:08:00 +01:00
Richard Kistruck
ff934c36ec
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
David Jones
8030de78d3
Mps: better style for amcfix.
...
Copied from Perforce
Change: 162668
ServerID: perforce.ravenbrook.com
2007-06-26 15:46:55 +01:00
Richard Kistruck
d17cc973fe
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