|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--JobStats
A JobStats object is used to record statistics about a Job that has completed.
Field Summary | |
int |
cpuUsed
Total cpu used (in ms) |
int |
elapsedTime
Total elapsed time from start to end |
int |
ioUsed
Total I/O operations |
double |
penalty
Penalty ratio (elapsed over sum of I/O time and CPU time) |
Constructor Summary | |
JobStats(int serial,
int cpuUsed,
int ioUsed,
int elapsedTime)
Create a JobStats object. |
Method Summary | |
java.lang.String |
toString()
Convert to string. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public int cpuUsed
public int ioUsed
public int elapsedTime
public double penalty
Constructor Detail |
public JobStats(int serial, int cpuUsed, int ioUsed, int elapsedTime)
serial
- the serial number of the jobcpuUsed
- the total cpu utilization (in ms)ioUses
- the number of I/O operations done by this jobelapsedTime
- elapsed time from arrival to completionMethod Detail |
public java.lang.String toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |