public class CpuMonitor extends MonitorManager
enabled
Constructor and Description |
---|
CpuMonitor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canParsePerCheat()
Tell if the
MonitorManager.getResultPerCheat() method is supported. |
@NonNull String |
getDescription()
Get description that will be showed at TOP of results
|
ConcurrentHashMap<IDetectionKey<?>,DetectionCpuMeasure> |
getDetectionMeasures() |
ConcurrentHashMap<Class<?>,EventCpuMeasure> |
getEventMeasures() |
List<MonitorMeasure> |
getFullConfig() |
DetectionCpuMeasure |
getMeasureForDetection(IDetectionKey<?> key) |
EventCpuMeasure |
getMeasureForEvent(Class<?> event) |
List<String> |
getResult()
Get parsed and showable result
|
HashMap<IDetectionKey<?>,List<String>> |
getResultPerCheat()
Get result per cheat.
|
disable, enable, getFooterResult, getHeaderResult, getName, isEnabled, load, showPerCheatResult, showResult
public ConcurrentHashMap<IDetectionKey<?>,DetectionCpuMeasure> getDetectionMeasures()
public DetectionCpuMeasure getMeasureForDetection(IDetectionKey<?> key)
public ConcurrentHashMap<Class<?>,EventCpuMeasure> getEventMeasures()
public EventCpuMeasure getMeasureForEvent(Class<?> event)
public @NonNull String getDescription()
MonitorManager
getDescription
in class MonitorManager
public List<String> getResult()
MonitorManager
getResult
in class MonitorManager
public boolean canParsePerCheat()
MonitorManager
MonitorManager.getResultPerCheat()
method is supported.canParsePerCheat
in class MonitorManager
public HashMap<IDetectionKey<?>,List<String>> getResultPerCheat()
MonitorManager
MonitorManager.canParsePerCheat()
to be sure the map can be filled.getResultPerCheat
in class MonitorManager
public List<MonitorMeasure> getFullConfig()
getFullConfig
in class MonitorManager