LAMA
|
This class is a helper class for tracing a scope in C++. More...
Data Structures | |
class | RegionTable |
Class to collect timing information about different regions in an instrumented program. More... | |
class | TraceConfig |
This class is used to define/set the runtime configuration for tracing. More... | |
class | TraceRegionRecord |
Functions | |
static double | walltime () |
LAMA_LOG_DEF_LOGGER (RegionTable::logger,"RegionTable") | |
LAMA_LOG_DEF_LOGGER (TraceConfig::logger,"TraceConfig") | |
static std::vector< std::string > | split (const std::string ¶ms, const char seperator) |
LAMA_LOG_DEF_LOGGER (TraceRegionRecord::logger,"TraceRegionRecord") | |
static double | getWallTime () |
Variables | |
static boost::mutex | printMutex |
static boost::mutex | mapMutex |
This class is a helper class for tracing a scope in C++.
The constructor of an object creates a start entry and the destructor the stop entry for trace files. The use of this class is much safer than using calls of routines start and stop explicitly as it works also very well in case of exception.
static double tracing::getWallTime | ( | ) | [static] |
tracing::LAMA_LOG_DEF_LOGGER | ( | TraceRegionRecord::logger | , |
"TraceRegionRecord" | |||
) |
tracing::LAMA_LOG_DEF_LOGGER | ( | TraceConfig::logger | , |
"TraceConfig" | |||
) |
tracing::LAMA_LOG_DEF_LOGGER | ( | RegionTable::logger | , |
"RegionTable" | |||
) |
static std::vector<std::string> tracing::split | ( | const std::string & | params, |
const char | seperator | ||
) | [static] |
Referenced by tracing::TraceConfig::TraceConfig().
static double tracing::walltime | ( | ) | [static] |
Referenced by tracing::RegionTable::elapsed().
boost::mutex tracing::mapMutex [static] |
Referenced by tracing::TraceConfig::getRegionTable().
boost::mutex tracing::printMutex [static] |
Referenced by tracing::RegionTable::printTimer().