#include <OSResult.h>
Inheritance diagram for TimeMeasurement:
Public Member Functions | |
TimeMeasurement () | |
Default constructor. | |
~TimeMeasurement () | |
Class destructor. | |
bool | IsEqual (TimeMeasurement *that) |
A function to check for the equality of two objects. | |
bool | setRandom (double density, bool conformant) |
A function to make a random instance of this class. | |
Public Attributes | |
std::string | type |
The type of timer used (cpuTime/elapsedTime/other). | |
std::string | category |
The category of time (total/input/preprocessing/optimization/postprocessing/output/other). | |
std::string | description |
Further description on the timer used. |
Definition at line 546 of file OSResult.h.
TimeMeasurement::TimeMeasurement | ( | ) |
TimeMeasurement::~TimeMeasurement | ( | ) |
bool TimeMeasurement::IsEqual | ( | TimeMeasurement * | that | ) |
A function to check for the equality of two objects.
Definition at line 6455 of file OSResult.cpp.
References category, description, TimeSpan::IsEqual(), and type.
bool TimeMeasurement::setRandom | ( | double | density, | |
bool | conformant | |||
) |
A function to make a random instance of this class.
density,: | corresponds to the probability that a particular child element is created | |
conformant,: | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children) |
Reimplemented from TimeSpan.
Definition at line 8277 of file OSResult.cpp.
References category, OSRand(), and TimeSpan::setRandom().
Referenced by TimingInformation::setRandom().
std::string TimeMeasurement::type |
The type of timer used (cpuTime/elapsedTime/other).
Definition at line 553 of file OSResult.h.
Referenced by OSResult::addTimingInformation(), OSResult::getTimingInfoType(), IsEqual(), OSResult::setTimingInformation(), and OSrLWriter::writeOSrL().
std::string TimeMeasurement::category |
The category of time (total/input/preprocessing/optimization/postprocessing/output/other).
Definition at line 558 of file OSResult.h.
Referenced by OSResult::addTimingInformation(), OSResult::getTimingInfoCategory(), IsEqual(), setRandom(), OSResult::setTimingInformation(), and OSrLWriter::writeOSrL().
std::string TimeMeasurement::description |
Further description on the timer used.
Definition at line 563 of file OSResult.h.
Referenced by OSResult::addTimingInformation(), OSResult::getTimingInfoDescription(), IsEqual(), OSResult::setTimingInformation(), and OSrLWriter::writeOSrL().