Menu

#1 output internal allocations

open
nobody
5
2004-05-26
2004-05-26
No

change trackalloc.c to write the number and size of persistent
internal allocations. This amount will be the sum of storage for:
alloc_hash: HASH_SIZE * sizeof(struct allocation *)
dump_threads: MAX_DUMP_THREADS * sizeof(pthread_t *)
alloc_hash elements: the number of alloc records in the hash *
sizeof(struct allocation)
dump_threads elements: the number of non-null dump_threads *
sizeof(pthread_t)

Discussion


Log in to post a comment.