|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PageBoxLib.WindowsUsageProbe
Returns resource data on Windows NT, 2000 and XP. Uses a WindowsCPU dll. Returns a UsageIF object.
alexis.grandemange@pagebox.net
Copyright (c) 2002-2004 Alexis Grandemange
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License lesser.txt should be included in the distribution.
Field Summary | |
(package private) boolean |
first
true at first call of collect. |
(package private) Log |
log
Logging object |
Constructor Summary | |
(package private) |
WindowsUsageProbe(Log log)
Constructor. |
Method Summary | |
ResourceUsage |
collect()
Get resource usage information. |
private int |
getCPU()
JNI method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
boolean first
Log log
Constructor Detail |
WindowsUsageProbe(Log log)
log
- logging objectMethod Detail |
private int getCPU()
public ResourceUsage collect()
collect
in interface UsageIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |