|
typedef std::string | state_t |
|
typedef dash::util::Timer< dash::util::TimeMeasure::Clock > | timer_t |
|
typedef timer_t::timestamp_t | timestamp_t |
|
typedef std::vector< state_timespan_t > | trace_events_t |
|
|
static bool | on () |
| Enable trace storage if environment variable DASH_ENABLE_TRACE is set to 'on'. More...
|
|
static void | off () |
| Disable trace storage. More...
|
|
static bool | enabled () |
| Whether trace storage is enabled. More...
|
|
static void | clear () |
| Clear trace data. More...
|
|
static void | clear (const std::string &context) |
| Clear trace data of given context. More...
|
|
static void | add_context (const std::string &context) |
| Register a new trace context. More...
|
|
static trace_events_t & | context_trace (const std::string &context) |
| Return reference to traces list for given context. More...
|
|
static void | write (std::ostream &out, bool printHeader=true) |
| Write trace data to given output stream. More...
|
|
static void | write (const std::string &filename, const std::string &path="") |
| Write trace data to file. More...
|
|
Definition at line 17 of file Trace.h.
◆ add_context()
static void dash::util::TraceStore::add_context |
( |
const std::string & |
context | ) |
|
|
static |
Register a new trace context.
◆ clear() [1/2]
static void dash::util::TraceStore::clear |
( |
| ) |
|
|
static |
◆ clear() [2/2]
static void dash::util::TraceStore::clear |
( |
const std::string & |
context | ) |
|
|
static |
Clear trace data of given context.
◆ context_trace()
static trace_events_t& dash::util::TraceStore::context_trace |
( |
const std::string & |
context | ) |
|
|
static |
Return reference to traces list for given context.
◆ enabled()
static bool dash::util::TraceStore::enabled |
( |
| ) |
|
|
static |
Whether trace storage is enabled.
◆ off()
static void dash::util::TraceStore::off |
( |
| ) |
|
|
static |
◆ on()
static bool dash::util::TraceStore::on |
( |
| ) |
|
|
static |
Enable trace storage if environment variable DASH_ENABLE_TRACE is set to 'on'.
- Returns
- true if trace storage has been enabled, otherwise false.
◆ write() [1/2]
static void dash::util::TraceStore::write |
( |
std::ostream & |
out, |
|
|
bool |
printHeader = true |
|
) |
| |
|
static |
Write trace data to given output stream.
◆ write() [2/2]
static void dash::util::TraceStore::write |
( |
const std::string & |
filename, |
|
|
const std::string & |
path = "" |
|
) |
| |
|
static |
Write trace data to file.
The documentation for this class was generated from the following file:
- /tmp/tmporruphar/dash/include/dash/util/Trace.h