mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 06:00:41 -08:00
Count the number of calls to make, for help with setting watchpoints.
Copied from Perforce Change: 187491 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
9b452d00cc
commit
0b1bec15f8
1 changed files with 2 additions and 0 deletions
|
|
@ -94,10 +94,12 @@ static void report(mps_arena_t arena)
|
|||
|
||||
static mps_addr_t make(size_t rootsCount)
|
||||
{
|
||||
static unsigned long calls = 0;
|
||||
size_t length = rnd() % (scale * avLEN);
|
||||
size_t size = (length+2) * sizeof(mps_word_t);
|
||||
mps_addr_t p;
|
||||
mps_res_t res;
|
||||
++ calls;
|
||||
|
||||
do {
|
||||
MPS_RESERVE_BLOCK(res, p, ap, size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue