HPCToolkit
VarMap Class Reference

#include <VarMap.hpp>

Inheritance diagram for VarMap:
Collaboration diagram for VarMap:

Public Member Functions

bool isVariable (char *expr)
 
double getValue (unsigned int var)
 
int getErrorCode ()
 
 VarMap (hpcrun_metricVal_t *metrics, metric_desc_t *m_list_metric_desc, unsigned int num_metrics)
 

Private Attributes

hpcrun_metricVal_tm_metrics
 
metric_desc_tm_list_metric_desc
 
size_t m_num_metrics
 
int m_error_code
 

Detailed Description

Definition at line 53 of file VarMap.hpp.

Constructor & Destructor Documentation

◆ VarMap()

VarMap::VarMap ( hpcrun_metricVal_t metrics,
metric_desc_t m_list_metric_desc,
unsigned int  num_metrics 
)

Definition at line 52 of file VarMap.cpp.

Member Function Documentation

◆ getErrorCode()

int VarMap::getErrorCode ( )
virtual

Implements BaseVarMap.

Definition at line 79 of file VarMap.cpp.

◆ getValue()

double VarMap::getValue ( unsigned int  var)
virtual

Implements BaseVarMap.

Definition at line 68 of file VarMap.cpp.

Here is the call graph for this function:

◆ isVariable()

bool VarMap::isVariable ( char *  expr)
virtual

Implements BaseVarMap.

Definition at line 61 of file VarMap.cpp.

Member Data Documentation

◆ m_error_code

int VarMap::m_error_code
private

Definition at line 61 of file VarMap.hpp.

◆ m_list_metric_desc

metric_desc_t* VarMap::m_list_metric_desc
private

Definition at line 58 of file VarMap.hpp.

◆ m_metrics

hpcrun_metricVal_t* VarMap::m_metrics
private

Definition at line 57 of file VarMap.hpp.

◆ m_num_metrics

size_t VarMap::m_num_metrics
private

Definition at line 60 of file VarMap.hpp.


The documentation for this class was generated from the following files: