#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 |
( |
void | | ) |
|
|
inline |
Install fatal handler with default options.
This is meant to be easy to call from python via ctypes.
Install fatal handler with default options.
Definition at line 428 of file PerfMonMTUtils.h.
428 {
429#ifndef __linux
430 return 0.0;
431#else
432
434 return (
m.uordblks +
m.hblkhd) / 1024.0;
435#endif
436}
struct mallinfo2 tc_mallinfo2(void)
◆ operator-()
Definition at line 404 of file PerfMonMTUtils.h.
404 {
406 for (const auto& it : map1) {
407 result_map[
it.first] = map1.at(
it.first) - map2.at(
it.first);
408 }
409 return result_map;
410}
std::map< std::string, int64_t > MemoryMap_t
◆ tc_mallinfo2()
| struct mallinfo2 tc_mallinfo2 |
( |
void | | ) |
|