ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
PMonMT::SnapshotMeasurement Struct Reference

#include <PerfMonMTUtils.h>

Collaboration diagram for PMonMT::SnapshotMeasurement:

Public Member Functions

void capture ()
 
 SnapshotMeasurement ()
 

Public Attributes

double cpu_time {}
 
double wall_time {}
 
MemoryMap_t mem_stats
 

Detailed Description

Definition at line 165 of file PerfMonMTUtils.h.

Constructor & Destructor Documentation

◆ SnapshotMeasurement()

PMonMT::SnapshotMeasurement::SnapshotMeasurement ( )
inline

Definition at line 184 of file PerfMonMTUtils.h.

184  : cpu_time{0.}, wall_time{0.} {
185  mem_stats["vmem"] = 0; mem_stats["pss"] = 0; mem_stats["rss"] = 0; mem_stats["swap"] = 0;
186  }

Member Function Documentation

◆ capture()

void PMonMT::SnapshotMeasurement::capture ( )
inline

Definition at line 172 of file PerfMonMTUtils.h.

172  {
173 
174  // Timing
177 
178  // Memory
180 
181  }

Member Data Documentation

◆ cpu_time

double PMonMT::SnapshotMeasurement::cpu_time {}

Definition at line 168 of file PerfMonMTUtils.h.

◆ mem_stats

MemoryMap_t PMonMT::SnapshotMeasurement::mem_stats

Definition at line 169 of file PerfMonMTUtils.h.

◆ wall_time

double PMonMT::SnapshotMeasurement::wall_time {}

Definition at line 168 of file PerfMonMTUtils.h.


The documentation for this struct was generated from the following file:
PMonMT::get_process_cpu_time
double get_process_cpu_time()
Definition: PerfMonMTUtils.h:320
PMonMT::get_wall_time
double get_wall_time()
Definition: PerfMonMTUtils.h:325
PMonMT::SnapshotMeasurement::wall_time
double wall_time
Definition: PerfMonMTUtils.h:168
PMonMT::get_mem_stats
MemoryMap_t get_mem_stats()
Definition: PerfMonMTUtils.h:338
PMonMT::SnapshotMeasurement::mem_stats
MemoryMap_t mem_stats
Definition: PerfMonMTUtils.h:169
PMonMT::SnapshotMeasurement::cpu_time
double cpu_time
Definition: PerfMonMTUtils.h:168