public static enum CentralProcessor.TickType extends Enum<CentralProcessor.TickType>
CentralProcessor.getSystemCpuLoadTicks() and
CentralProcessor.getProcessorCpuLoadTicks() arrays.| Enum Constant and Description |
|---|
IDLE
Time that the CPU or CPUs were idle and the system did not have an
outstanding disk I/O request.
|
IOWAIT
Time that the CPU or CPUs were idle during which the system had an
outstanding disk I/O request.
|
IRQ
Time that the CPU used to service hardware IRQs
|
NICE
CPU utilization that occurred while executing at the user level with nice
priority.
|
SOFTIRQ
Time that the CPU used to service soft IRQs
|
STEAL
Time which the hypervisor dedicated for other guests in the system.
|
SYSTEM
CPU utilization that occurred while executing at the system level (kernel).
|
USER
CPU utilization that occurred while executing at the user level
(application).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
static CentralProcessor.TickType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CentralProcessor.TickType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CentralProcessor.TickType USER
public static final CentralProcessor.TickType NICE
public static final CentralProcessor.TickType SYSTEM
public static final CentralProcessor.TickType IDLE
public static final CentralProcessor.TickType IOWAIT
public static final CentralProcessor.TickType IRQ
public static final CentralProcessor.TickType SOFTIRQ
public static final CentralProcessor.TickType STEAL
public static CentralProcessor.TickType[] values()
for (CentralProcessor.TickType c : CentralProcessor.TickType.values()) System.out.println(c);
public static CentralProcessor.TickType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getIndex()
Copyright © 2020. All rights reserved.