mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
Gcbench now reports the number of chunks.
Copied from Perforce Change: 186188 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
c974c43840
commit
43d30e9ca3
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
#include "testthr.h"
|
||||
#include "fmtdy.h"
|
||||
#include "fmtdytst.h"
|
||||
#include "mpm.h"
|
||||
|
||||
#include <stdio.h> /* fprintf, printf, putchars, sscanf, stderr, stdout */
|
||||
#include <stdlib.h> /* alloca, exit, EXIT_FAILURE, EXIT_SUCCESS, strtoul */
|
||||
|
|
@ -244,6 +245,7 @@ static void arena_setup(gcthread_fn_t fn,
|
|||
} MPS_ARGS_END(args);
|
||||
watch(fn, name);
|
||||
mps_arena_park(arena);
|
||||
printf("%u chunks\n", (unsigned)RingLength(&arena->chunkRing));
|
||||
mps_pool_destroy(pool);
|
||||
mps_fmt_destroy(format);
|
||||
if (ngen > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue