ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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 75 of file PerfMonMTUtils.h.

Constructor & Destructor Documentation

◆ ComponentMeasurement()

PMonMT::ComponentMeasurement::ComponentMeasurement ( )
inline

Definition at line 99 of file PerfMonMTUtils.h.

99 : cpu_time{0.}, wall_time{0.}, vmem{0.}, malloc{0.} { }

Member Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

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

Definition at line 90 of file PerfMonMTUtils.h.

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

◆ capture()

void PMonMT::ComponentMeasurement::capture ( )
inline

Definition at line 82 of file PerfMonMTUtils.h.

82  {
83 
84  // Timing
87  }

Member Data Documentation

◆ cpu_time

double PMonMT::ComponentMeasurement::cpu_time {}

Definition at line 78 of file PerfMonMTUtils.h.

◆ malloc

double PMonMT::ComponentMeasurement::malloc {}

Definition at line 79 of file PerfMonMTUtils.h.

◆ vmem

double PMonMT::ComponentMeasurement::vmem {}

Definition at line 79 of file PerfMonMTUtils.h.

◆ wall_time

double PMonMT::ComponentMeasurement::wall_time {}

Definition at line 78 of file PerfMonMTUtils.h.


The documentation for this struct was generated from the following file:
PMonMT::get_vmem
double get_vmem()
Definition: PerfMonMTUtils.h:383
PMonMT::ComponentMeasurement::cpu_time
double cpu_time
Definition: PerfMonMTUtils.h:78
PMonMT::get_wall_time
double get_wall_time()
Definition: PerfMonMTUtils.h:331
PMonMT::ComponentMeasurement::wall_time
double wall_time
Definition: PerfMonMTUtils.h:78
PMonMT::ComponentMeasurement::vmem
double vmem
Definition: PerfMonMTUtils.h:79
PMonMT::ComponentMeasurement::malloc
double malloc
Definition: PerfMonMTUtils.h:79
PMonMT::get_thread_cpu_time
double get_thread_cpu_time()
Definition: PerfMonMTUtils.h:314