Nektar++
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Nektar::MetricExecutionTimeFieldValue Struct Reference

Data structure for an execution time field value. More...

#include <MetricExecutionTime.h>

Public Member Functions

 MetricExecutionTimeFieldValue ()
 
 MetricExecutionTimeFieldValue (std::string value)
 

Public Attributes

std::string m_value = ""
 The value to match. Defaults to empty string.
 
bool m_skip = false
 Indicates whether the metric should be skipped. Defaults to false.
 
double m_tolerance = 5.0
 The tolerance to use for checking the execution time. Defaults to 5.0.
 

Detailed Description

Data structure for an execution time field value.

Definition at line 49 of file MetricExecutionTime.h.

Constructor & Destructor Documentation

◆ MetricExecutionTimeFieldValue() [1/2]

Nektar::MetricExecutionTimeFieldValue::MetricExecutionTimeFieldValue ( )
inline

Definition at line 51 of file MetricExecutionTime.h.

52 {
53 }

◆ MetricExecutionTimeFieldValue() [2/2]

Nektar::MetricExecutionTimeFieldValue::MetricExecutionTimeFieldValue ( std::string  value)
inline

Definition at line 55 of file MetricExecutionTime.h.

55 : m_value(value)
56 {
57 }
std::string m_value
The value to match. Defaults to empty string.

Member Data Documentation

◆ m_skip

bool Nektar::MetricExecutionTimeFieldValue::m_skip = false

Indicates whether the metric should be skipped. Defaults to false.

Definition at line 62 of file MetricExecutionTime.h.

Referenced by Nektar::MetricExecutionTime::MetricExecutionTime(), and Nektar::MetricExecutionTime::v_Test().

◆ m_tolerance

double Nektar::MetricExecutionTimeFieldValue::m_tolerance = 5.0

The tolerance to use for checking the execution time. Defaults to 5.0.

Definition at line 64 of file MetricExecutionTime.h.

Referenced by Nektar::MetricExecutionTime::MetricExecutionTime(), Nektar::MetricExecutionTime::v_Generate(), and Nektar::MetricExecutionTime::v_Test().

◆ m_value

std::string Nektar::MetricExecutionTimeFieldValue::m_value = ""

The value to match. Defaults to empty string.

Definition at line 60 of file MetricExecutionTime.h.

Referenced by Nektar::MetricExecutionTime::MetricExecutionTime(), Nektar::MetricExecutionTime::v_Generate(), and Nektar::MetricExecutionTime::v_Test().