1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

Added code which temporarily disables profiling

This commit is contained in:
obarthel
2016-12-04 11:06:50 +01:00
parent 78a8c7655e
commit 17ba18c731
3 changed files with 35 additions and 18 deletions

View File

@ -72,7 +72,9 @@ __free_unused_slabs(void)
/* Unlink from list of slabs of the same size. */
Remove((struct Node *)sn);
PROFILE_OFF();
FreeVec(sn);
PROFILE_ON();
}
__memory_unlock();