lmprof icon indicating copy to clipboard operation
lmprof copied to clipboard

why ignore memory reduce?

Open xjdrew opened this issue 6 years ago • 0 comments

code: https://github.com/pmusa/lmprof/blob/master/src/lmprof.c#L302

if (nsize > osize && st->increment_alloc_count == 1) {
  st->alloc_count = st->alloc_count + (nsize - osize);
}

when nsize < osize, it means memory reduce, why ignore?

xjdrew avatar Jan 22 '19 09:01 xjdrew