|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.utah.janosvm.resources.CPUResource
Provides java level access to the current team's CPU resource.
Constructor Summary | |
private |
CPUResource()
Its a static only class. |
Method Summary | |
static void |
change(CPUSpec cs)
|
static long |
getIdle()
|
static long |
getUsage()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait, wait0 |
Constructor Detail |
private CPUResource()
Method Detail |
public static void change(CPUSpec cs) throws ResourceSpecException
cs
- The new CPUSpec for this team.public static long getUsage()
public static long getIdle()
|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |