ATLAS Offline Software
Loading...
Searching...
No Matches
PMonMT::ComponentMeasurement Struct Reference

#include <PerfMonMTUtils.h>

Collaboration diagram for PMonMT::ComponentMeasurement:

Public Member Functions

void capture ()
bool capture_memory ATLAS_NOT_THREAD_SAFE ()
 ComponentMeasurement ()

Public Attributes

double cpu_time {}
double wall_time {}
double vmem {}
double malloc {}

Detailed Description

Definition at line 74 of file PerfMonMTUtils.h.

Constructor & Destructor Documentation

◆ ComponentMeasurement()

PMonMT::ComponentMeasurement::ComponentMeasurement ( )
inline

Member Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

bool capture_memory PMonMT::ComponentMeasurement::ATLAS_NOT_THREAD_SAFE ( )
inline

Definition at line 89 of file PerfMonMTUtils.h.

89 {
90
91 // Memory
92 malloc = get_malloc_kb();
93 vmem = get_vmem();
94 return true; // dummy return value for use with thread-checker macros
95 }
double get_vmem()

◆ capture()

void PMonMT::ComponentMeasurement::capture ( )
inline

Definition at line 81 of file PerfMonMTUtils.h.

81 {
82
83 // Timing
86 }
double get_wall_time()
double get_thread_cpu_time()

Member Data Documentation

◆ cpu_time

double PMonMT::ComponentMeasurement::cpu_time {}

Definition at line 77 of file PerfMonMTUtils.h.

77{}, wall_time{}; // Timing

◆ malloc

double PMonMT::ComponentMeasurement::malloc {}

Definition at line 78 of file PerfMonMTUtils.h.

78{}, malloc{}; // Memory: Vmem, Malloc

◆ vmem

double PMonMT::ComponentMeasurement::vmem {}

Definition at line 78 of file PerfMonMTUtils.h.

78{}, malloc{}; // Memory: Vmem, Malloc

◆ wall_time

double PMonMT::ComponentMeasurement::wall_time {}

Definition at line 77 of file PerfMonMTUtils.h.

77{}, wall_time{}; // Timing

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