|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.jhu.cnds.Frugal.LoadTester
A load testing application, capable of abstractly measuring a system's load and speed.
| Field Summary | |
protected static long |
maxspeed
Maximum speed (in arithmetic operations per second) experienced during testing. |
protected static long |
minspeed
Minimum speed (in arithmetic operations per second) experienced during testing. |
| Constructor Summary | |
LoadTester()
Constructs a new load tester implementation. |
|
| Method Summary | |
static long |
currentFreeMemory()
Returns the free memory on a system. |
static long |
currentSpeed()
Returns the most recent speed measurement. |
static long |
currentUsedMemory()
Returns the used memory on a system. |
static void |
main(java.lang.String[] argv)
Starts the load tester running. |
void |
run()
Starts computing the system's speed. |
static long |
totalMemory()
Returns the total memory on a system. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected static long maxspeed
protected static long minspeed
| Constructor Detail |
public LoadTester()
throws java.rmi.RemoteException
| Method Detail |
public static long totalMemory()
public static long currentFreeMemory()
public static long currentUsedMemory()
public static long currentSpeed()
public void run()
public static void main(java.lang.String[] argv)
argv - Command-line style arguments, presumably null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||