|
geopm 3.2.1.dev237+gbe30cff60
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. | |
| 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. | |
| 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. | |
| 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. | |
| void | flush (void) override |
| Write the remaining trace data to the file and stop tracing. | |
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.