ATLAS Offline Software
Loading...
Searching...
No Matches
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 170 of file PerfMonMTUtils.h.

Constructor & Destructor Documentation

◆ SnapshotMeasurement()

PMonMT::SnapshotMeasurement::SnapshotMeasurement ( )
inline

Definition at line 189 of file PerfMonMTUtils.h.

189 : cpu_time{0.}, wall_time{0.} {
190 mem_stats["vmem"] = 0; mem_stats["pss"] = 0; mem_stats["rss"] = 0; mem_stats["swap"] = 0;
191 }

Member Function Documentation

◆ capture()

void PMonMT::SnapshotMeasurement::capture ( )
inline

Definition at line 177 of file PerfMonMTUtils.h.

177 {
178
179 // Timing
182
183 // Memory
185
186 }
double get_wall_time()
MemoryMap_t get_mem_stats()
double get_process_cpu_time()

Member Data Documentation

◆ cpu_time

double PMonMT::SnapshotMeasurement::cpu_time {}

Definition at line 173 of file PerfMonMTUtils.h.

173{}, wall_time{}; // Timing

◆ mem_stats

MemoryMap_t PMonMT::SnapshotMeasurement::mem_stats

Definition at line 174 of file PerfMonMTUtils.h.

◆ wall_time

double PMonMT::SnapshotMeasurement::wall_time {}

Definition at line 173 of file PerfMonMTUtils.h.

173{}, wall_time{}; // Timing

The documentation for this struct was generated from the following file: