NEML2 2.0.0
|
Interface for classes that support event tracing
This class provides a common interface for classes that support event tracing. It provides a mechanism for writing trace data to a file in the Chrome tracing format.
#include <TracingInterface.h>
Public Member Functions | |
TracingInterface (std::string) | |
TracingInterface (const OptionSet &) | |
virtual | ~TracingInterface ()=default |
TracingInterface (const TracingInterface &)=default | |
TracingInterface (TracingInterface &&)=default | |
TracingInterface & | operator= (const TracingInterface &)=delete |
TracingInterface & | operator= (TracingInterface &&)=delete |
bool | event_tracing_enabled () const |
TraceWriter & | event_trace_writer () const |
Get the event trace writer. | |
Static Public Member Functions | |
static OptionSet | expected_options () |
TracingInterface | ( | std::string | trace_file | ) |
TracingInterface | ( | const OptionSet & | options | ) |
|
virtualdefault |
|
default |
|
default |
TraceWriter & event_trace_writer | ( | ) | const |
Get the event trace writer.
|
inline |
|
static |
|
delete |
|
delete |