aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/mpm.c
diff options
context:
space:
mode:
authorRichard Kistruck2010-03-23 03:52:41 +0000
committerRichard Kistruck2010-03-23 03:52:41 +0000
commit7bdbbeb2c95d279c37efbc47af277f95cd4ac0e1 (patch)
tree1a93de5961063452f0fe84335d9c117733d67916 /mps/code/mpm.c
parent7c8891528570302a068a9a1c67bfea8b6d37d13a (diff)
downloademacs-7bdbbeb2c95d279c37efbc47af277f95cd4ac0e1.tar.gz
emacs-7bdbbeb2c95d279c37efbc47af277f95cd4ac0e1.zip
mps br/vmem: simple-chunk-return:
arenavm.c: - M_whole, M_frac: print count of bytes as Megabytes - diag on VMCompact after all client-requested traces, plus any others where we returned a chunk. - show vmem change, and also trace cond, live / % / stuck(pip), notCond mpm.c -- new "$3" format for 0-padding 3-char-wide field, for thousandths of a MB zcoll.c -- try some new parameters for tests diag.c -- just VMCompact diag Copied from Perforce Change: 170097 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/mpm.c')
-rw-r--r--mps/code/mpm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mps/code/mpm.c b/mps/code/mpm.c
index 84c9fdc870b..a0d66350e7b 100644
--- a/mps/code/mpm.c
+++ b/mps/code/mpm.c
@@ -517,6 +517,12 @@ Res WriteF_firstformat_v(mps_lib_FILE *stream,
517 if (res != ResOK) return res; 517 if (res != ResOK) return res;
518 } break; 518 } break;
519 519
520 case '3': { /* decimal for thousandths */
521 WriteFU u = va_arg(args, WriteFU);
522 res = WriteWord(stream, (Word)u, 10, 3);
523 if (res != ResOK) return res;
524 } break;
525
520 case 'B': { /* binary, see .writef.p */ 526 case 'B': { /* binary, see .writef.p */
521 WriteFB b = va_arg(args, WriteFB); 527 WriteFB b = va_arg(args, WriteFB);
522 res = WriteWord(stream, (Word)b, 2, sizeof(WriteFB) * CHAR_BIT); 528 res = WriteWord(stream, (Word)b, 2, sizeof(WriteFB) * CHAR_BIT);