ATLAS Offline Software
Classes | Namespaces | Typedefs | Functions
PerfMonMTUtils.h File Reference
#include "CxxUtils/checker_macros.h"
#include "SemiDetMisc.h"
#include "PerfMonEvent/mallinfo.h"
#include <fcntl.h>
#include <malloc.h>
#include <sys/stat.h>
#include <chrono>
#include <cstdint>
#include <ctime>
#include <fstream>
#include <map>
#include <string>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PMonMT::StepComp
 
struct  PMonMT::ComponentMeasurement
 
struct  PMonMT::ComponentData
 
struct  PMonMT::SnapshotMeasurement
 
struct  PMonMT::EventLevelData
 
struct  PMonMT::SnapshotData
 

Namespaces

 PMonMT
 

Typedefs

typedef std::map< std::string, int64_t > MemoryMap_t
 

Functions

MemoryMap_t operator- (const MemoryMap_t &map1, const MemoryMap_t &map2)
 
double PMonMT::get_thread_cpu_time ()
 
double PMonMT::get_process_cpu_time ()
 
double PMonMT::get_wall_time ()
 
MemoryMap_t PMonMT::get_mem_stats ()
 
double PMonMT::get_vmem ()
 
bool PMonMT::doesDirectoryExist (const std::string &dir)
 

Typedef Documentation

◆ MemoryMap_t

typedef std::map<std::string, int64_t> MemoryMap_t

Definition at line 31 of file PerfMonMTUtils.h.

Function Documentation

◆ operator-()

MemoryMap_t operator- ( const MemoryMap_t map1,
const MemoryMap_t map2 
)
inline

Definition at line 399 of file PerfMonMTUtils.h.

399  {
400  MemoryMap_t result_map;
401  for (auto it : map1) {
402  result_map[it.first] = map1.at(it.first) - map2.at(it.first);
403  }
404  return result_map;
405 }
skel.it
it
Definition: skel.GENtoEVGEN.py:423
MemoryMap_t
std::map< std::string, int64_t > MemoryMap_t
Definition: PerfMonMTUtils.h:31