Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 74 of file PerfMonMTUtils.h.

Constructor & Destructor Documentation

◆ ComponentMeasurement()

PMonMT::ComponentMeasurement::ComponentMeasurement ( )
inline

Definition at line 98 of file PerfMonMTUtils.h.

98 : 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 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  }

◆ capture()

void PMonMT::ComponentMeasurement::capture ( )
inline

Definition at line 81 of file PerfMonMTUtils.h.

81  {
82 
83  // Timing
86  }

Member Data Documentation

◆ cpu_time

double PMonMT::ComponentMeasurement::cpu_time {}

Definition at line 77 of file PerfMonMTUtils.h.

◆ malloc

double PMonMT::ComponentMeasurement::malloc {}

Definition at line 78 of file PerfMonMTUtils.h.

◆ vmem

double PMonMT::ComponentMeasurement::vmem {}

Definition at line 78 of file PerfMonMTUtils.h.

◆ wall_time

double PMonMT::ComponentMeasurement::wall_time {}

Definition at line 77 of file PerfMonMTUtils.h.


The documentation for this struct was generated from the following file:
PMonMT::get_vmem
double get_vmem()
Definition: PerfMonMTUtils.h:382
PMonMT::ComponentMeasurement::cpu_time
double cpu_time
Definition: PerfMonMTUtils.h:77
PMonMT::get_wall_time
double get_wall_time()
Definition: PerfMonMTUtils.h:330
PMonMT::ComponentMeasurement::wall_time
double wall_time
Definition: PerfMonMTUtils.h:77
PMonMT::ComponentMeasurement::vmem
double vmem
Definition: PerfMonMTUtils.h:78
PMonMT::ComponentMeasurement::malloc
double malloc
Definition: PerfMonMTUtils.h:78
PMonMT::get_thread_cpu_time
double get_thread_cpu_time()
Definition: PerfMonMTUtils.h:313