org.bootchart.common

Class CPUSample

public class CPUSample extends Sample

CPU statistics sample.
Field Summary
doubleio
The percentage of CPU time spent waiting on disk I/O.
doublesys
System load.
doubleuser
User load.
Constructor Summary
CPUSample(Date time, double user, double sys, double io)
Creates a new sample.
Method Summary
StringtoString()
Returns the string representation of the sample.

Field Detail

io

public double io
The percentage of CPU time spent waiting on disk I/O.

sys

public double sys
System load.

user

public double user
User load.

Constructor Detail

CPUSample

public CPUSample(Date time, double user, double sys, double io)
Creates a new sample.

Parameters: time sample time user user load sys system load io IO wait

Method Detail

toString

public String toString()
Returns the string representation of the sample.

Returns: string representation