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, showResultpublic ConcurrentHashMap<IDetectionKey<?>,DetectionCpuMeasure> getDetectionMeasures()
public DetectionCpuMeasure getMeasureForDetection(IDetectionKey<?> key)
public ConcurrentHashMap<Class<?>,EventCpuMeasure> getEventMeasures()
public EventCpuMeasure getMeasureForEvent(Class<?> event)
public @NonNull String getDescription()
MonitorManagergetDescription in class MonitorManagerpublic List<String> getResult()
MonitorManagergetResult in class MonitorManagerpublic boolean canParsePerCheat()
MonitorManagerMonitorManager.getResultPerCheat() method is supported.canParsePerCheat in class MonitorManagerpublic HashMap<IDetectionKey<?>,List<String>> getResultPerCheat()
MonitorManagerMonitorManager.canParsePerCheat() to be sure the map can be filled.getResultPerCheat in class MonitorManagerpublic List<MonitorMeasure> getFullConfig()
getFullConfig in class MonitorManager