#include <cpuStatData.h>
Inheritance diagram for CpuStatData::
Public Methods | |
CpuStatData () | |
Default constructor. More... | |
virtual | ~CpuStatData () |
Destructor. | |
virtual void | addCpuStat (jlong addHits, jlong addPureTime) |
Updates statistics. More... | |
virtual Buffer & | dataToBin (Buffer &b) |
Converts statistics data to a binary format used for communication with client. More... | |
Static Public Methods | |
CpuStatData & | copy (CpuStatData &dest, const CpuStatData &src) |
Copies statistic data. | |
Public Attributes | |
jlong | pureTime |
pure time consumed (time spent in callees is excluded). | |
jlong | hits |
number of hits (calls). |
Used as a base class for other classes to hold CPU usage information.
Definition at line 51 of file cpuStatData.h.
|
Default constructor. Performs statistics initialization. Definition at line 66 of file cpuStatData.h. |
|
Updates statistics.
Reimplemented in CpuThreadMethod, CpuThreadTrace, and CpuTrace. Definition at line 37 of file cpuStatData.cpp. Referenced by CpuTrace::addCpuStat(), CpuThreadTrace::addCpuStat(), CpuThreadMethod::addCpuStat(), Sampling::doOneSample(), and Prof::event_methodExit().
|
|
Converts statistics data to a binary format used for communication with client.
Reimplemented from DataBinaryFormat. Definition at line 45 of file cpuStatData.cpp. |