geopm
3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
|
Class used to write a trace of the telemetry and policy. More...
#include <Tracer.hpp>
Public Member Functions | |
TracerImp (const std::string &start_time) | |
TracerImp constructor. More... | |
TracerImp (const std::string &start_time, const std::string &file_path, const std::string &hostname, bool do_trace, PlatformIO &platform_io, const PlatformTopo &platform_topo, const std::vector< std::pair< std::string, int > > &env_column) | |
virtual | ~TracerImp ()=default |
TracerImp destructor, virtual. More... | |
void | columns (const std::vector< std::string > &agent_cols, const std::vector< std::function< std::string(double)> > &agent_formats) override |
Set up default columns and add columns to be. More... | |
void | update (const std::vector< double > &agent_signals) override |
Update the trace with telemetry samples and region info. The Tracer samples values for default and environment columns and the remaining signal values are provided by the Agent. More... | |
void | flush (void) override |
Write the remaining trace data to the file and stop tracing. More... | |
Public Member Functions inherited from geopm::Tracer | |
Tracer ()=default | |
virtual | ~Tracer ()=default |
Class used to write a trace of the telemetry and policy.
geopm::TracerImp::TracerImp | ( | const std::string & | start_time | ) |
TracerImp constructor.
geopm::TracerImp::TracerImp | ( | const std::string & | start_time, |
const std::string & | file_path, | ||
const std::string & | hostname, | ||
bool | do_trace, | ||
PlatformIO & | platform_io, | ||
const PlatformTopo & | platform_topo, | ||
const std::vector< std::pair< std::string, int > > & | env_column | ||
) |
|
virtualdefault |
TracerImp destructor, virtual.
|
overridevirtual |
Set up default columns and add columns to be.
Implements geopm::Tracer.
|
overridevirtual |
Write the remaining trace data to the file and stop tracing.
Implements geopm::Tracer.
|
overridevirtual |
Update the trace with telemetry samples and region info. The Tracer samples values for default and environment columns and the remaining signal values are provided by the Agent.
[in] | agent_signals | Values for signals provided by the agent. |
Implements geopm::Tracer.