You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial implementation of a rootbench memory tracing library.
It implements a C library which records information about the memory allocations.
The library is loaded using the LD_PRELOAD mechanism (and DYLD_INSERT_LIBRARIES
for osx).
GoogleBenchmark displays the memory allocation results are only in the json
format. For instance:
DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_INSERT_LIBRARIES=./lib/Instrumentation/libRBInstrumentation.dylib ./root/interpreter/InterpreterLookupHelperBenchmarks --benchma
rk_format=json:
...
{
"name": "BM_LookupHelper_Leak",
"run_name": "BM_LookupHelper_Leak",
"run_type": "iteration",
"repetitions": 0,
"repetition_index": 0,
"threads": 1,
"iterations": 1,
"real_time": 1.3199219449888916e+09,
"cpu_time": 8.0450300000000000e+08,
"time_unit": "ns",
"allocs_per_iter": 6.0000000000000000e+00,
"max_bytes_used": 3368
}
0 commit comments