Data structure for DA process profiling information. More...
#include </home/user/DXC_svn/trunk/Src/APIs/cpp/DataTypes/ProfilingData.hpp>
Public Member Functions | |
ProfilingData (Timestamp timestamp, unsigned long cpuTime, unsigned long maxMem) | |
Constructor. | |
ProfilingData (unsigned long cpuTime, unsigned long maxMem) | |
Constructor without timestamp (sets timestamp to current time). | |
virtual ProfilingData * | clone () const |
Virtual copy constructor. | |
virtual std::ostream & | put (std::ostream &) const |
Prints DxcData in standardized, parseable format. |
Data structure for DA process profiling information.
ProfilingData::ProfilingData | ( | Timestamp | timestamp, | |
unsigned long | cpuTime, | |||
unsigned long | maxMem | |||
) |
Constructor.
timestamp | - message timestamp. | |
cpuTime | - total process cpu time. | |
maxMem | - peak memory usage. |
ProfilingData::ProfilingData | ( | unsigned long | cpuTime, | |
unsigned long | maxMem | |||
) |
Constructor without timestamp (sets timestamp to current time).
cpuTime | - total process cpu time. | |
maxMem | - peak memory usage. |
ProfilingData * ProfilingData::clone | ( | ) | const [virtual] |
Virtual copy constructor.
Returns a pointer to a copy of the DxcData. The user is responsible for managing the memory.
Implements Dxc::DxcData.