public interface CPUMonitor extends ResourceMonitor<Long>
ResourceMonitor
for the
ResourceMonitoringService.RES_TYPE_CPU
resource type. CPUMonitor
instance monitors the CPU consumed by a ResourceContext
instance.Modifier and Type | Method and Description |
---|---|
long |
getCPUUsage()
Returns the CPU usage as a cumulative number of nanoseconds
|
delete, disable, enable, equals, getContext, getMonitoredPeriod, getResourceType, getSamplingPeriod, getUsage, hashCode, isDeleted, isEnabled
long getCPUUsage()
The ResourceMonitor.getUsage()
method returns the same value, wrapped in a long.
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0