public class CPUsDetailedPercConverter
extends java.lang.Object
Constructor and Description |
---|
CPUsDetailedPercConverter(int coreIndex)
CPUsDetailedPercConverter constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
convertToPercentage()
Calculates the percentages of system, nice, user,...
|
double |
getCombinedPerc() |
int |
getCoreIndex() |
double |
getIdlePerc() |
double |
getIrqPerc() |
double |
getNicePerc() |
double |
getSystemPerc() |
double |
getUserPerc() |
double |
getWaitPerc() |
void |
passNewProcessorLoadTicks(long[] processorLoadTicks)
Stores a new measurement spot for a given CPU core.
|
public CPUsDetailedPercConverter(int coreIndex)
coreIndex
- holds the CPU core indexpublic void passNewProcessorLoadTicks(long[] processorLoadTicks)
processorLoadTicks
- the new measurements at the current timepublic void convertToPercentage()
public double getSystemPerc()
public double getNicePerc()
public double getWaitPerc()
public double getUserPerc()
public double getIrqPerc()
public double getIdlePerc()
public double getCombinedPerc()
public int getCoreIndex()
Copyright 2020 Kieker Project, http://kieker-monitoring.net