powerd++  0.4.4
Classes | Public Member Functions | Private Attributes | List of all members
anonymous_namespace{libloadplay.cpp}::Report Class Reference

Provides a mechanism to provide frame wise per core load information. More...

Collaboration diagram for anonymous_namespace{libloadplay.cpp}::Report:
[legend]

Classes

class  Frame
 Represents a frame of the report. More...
 

Public Member Functions

 Report (ofile< io::link > fout, coreid_t const ncpu)
 Construct a report. More...
 
template<typename ... ArgTs>
Frame frame (ArgTs &&... args)
 Constructs a frame for this report. More...
 

Private Attributes

ofile< io::link > fout
 The output stream to report to.
 
const coreid_t ncpu
 The number of cpu cores to provide reports for.
 
Sum< uint64_t > time
 The time passed in [ms].
 
std::unique_ptr< CoreFrameReport[]> cores
 Per frame per core data.
 

Detailed Description

Provides a mechanism to provide frame wise per core load information.

Constructor & Destructor Documentation

◆ Report()

anonymous_namespace{libloadplay.cpp}::Report::Report ( ofile< io::link >  fout,
coreid_t const  ncpu 
)
inline

Construct a report.

Parameters
foutThe stream to output to
ncpuThe number of CPU cores to report

Member Function Documentation

◆ frame()

template<typename ... ArgTs>
Frame anonymous_namespace{libloadplay.cpp}::Report::frame ( ArgTs &&...  args)
inline

Constructs a frame for this report.

Template Parameters
ArgTsThe constructor argument types
Parameters
argsThe constructor arguments

The documentation for this class was generated from the following file: