library/src/memory_profiling/BP_LibraryMemoryProfiling.cc
// checks to see if the chunk is in the stack
checks to see if the chunk is in the stack
checks to see if the chunk is in the stack
P_BP_HASH_TABLE_MEM_PTR_ENTRY BP_MemProfilerFindChunk(void *addr)
{
	if(BP_GLOBAL_MEMPROF_HASH_TABLE_INIT_OK)
		return NULL;
	return BP_HashRegMemPtrFind(&global_mprof_hash_table_registry,(void *) addr );
}
P_BP_HASH_TABLE_MEM_PTR_ENTRY BP_MemProfilerFindChunk ( void * addr ) { if ( BP_GLOBAL_MEMPROF_HASH_TABLE_INIT_OK ) return NULL ; return BP_HashRegMemPtrFind ( & global_mprof_hash_table_registry , ( void * ) addr ) ; }
checks to see if the chunk is in the stack
checks to see if the chunk is in the stack
// only shutdown if profiler is up // return found pointer (or null)