#include "CxxUtils/checker_macros.h"
#include <dlfcn.h>
#include <fcntl.h>
#include <malloc.h>
#include <sys/stat.h>
#include <chrono>
#include <cstdint>
#include <ctime>
#include <fstream>
#include <map>
#include <string>
Go to the source code of this file.
◆ MemoryMap_t
◆ ATLAS_NOT_THREAD_SAFE()
double PMonMT::get_malloc_kb ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
inline |
Install fatal handler with default options.
This is meant to be easy to call from python via ctypes.
Definition at line 423 of file PerfMonMTUtils.h.
427 struct mallinfo2
m = mallinfo2();
428 return (
m.uordblks+
m.hblkhd)/1024.0;
◆ operator-()
Definition at line 404 of file PerfMonMTUtils.h.
406 for (
auto it : map1) {
407 result_map[
it.first] = map1.at(
it.first) - map2.at(
it.first);