|
dataflow
v1b3
|
#include <cput_ime.h>
Public Member Functions | |
| CPUTime (const Json::Value &storage) | |
| CPUTime (Json::Value *storage) | |
| virtual | ~CPUTime () |
| const StringPiece | GetTypeName () const |
| bool | has_rate () const |
| void | clear_rate () |
| double | get_rate () const |
| void | set_rate (double value) |
| bool | has_timestamp () const |
| void | clear_timestamp () |
| const StringPiece | get_timestamp () const |
| void | set_timestamp (const StringPiece &value) |
| bool | has_total_ms () const |
| void | clear_total_ms () |
| uint64 | get_total_ms () const |
| void | set_total_ms (uint64 value) |
Static Public Member Functions | |
| static CPUTime * | New () |
Modeled after information exposed by /proc/stat.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'rate' attribute.
|
inline |
Clears the 'timestamp' attribute.
|
inline |
Clears the 'totalMs' attribute.
|
inline |
Get the value of the 'rate' attribute.
|
inline |
Get the value of the 'timestamp' attribute.
|
inline |
Get the value of the 'totalMs' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_dataflow_api::CPUTime
|
inline |
Determine if the 'rate' attribute was set.
rate' attribute was set.
|
inline |
Determine if the 'timestamp' attribute was set.
timestamp' attribute was set.
|
inline |
Determine if the 'totalMs' attribute was set.
totalMs' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'rate' attribute.
Average CPU utilization rate (% non-idle cpu / second) since previous sample.
| [in] | value | The new value. |
|
inline |
Change the 'timestamp' attribute.
Timestamp of the measurement.
| [in] | value | The new value. |
|
inline |
Change the 'totalMs' attribute.
Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.
| [in] | value | The new value. |