Class OOCEventLog
java.lang.Object
org.apache.sysds.runtime.ooc.stats.OOCEventLog
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear()static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic voidonCacheSizeChangedEvent(int callerId, long timestamp, long cacheSize, long bytesToEvict, long pinnedBytes, long readingReservedBytes) static voidonComputeEvent(int callerId, long startTimestamp, long endTimestamp) static voidonDiskReadEvent(int callerId, long startTimestamp, long endTimestamp, long size) static voidonDiskWriteEvent(int callerId, long startTimestamp, long endTimestamp, long size) static voidputRunSetting(String setting, Object data) static intregisterCaller(String callerName) static voidsetup(int maxNumEvents)
-
Constructor Details
-
OOCEventLog
public OOCEventLog()
-
-
Method Details
-
setup
public static void setup(int maxNumEvents) -
registerCaller
-
onComputeEvent
public static void onComputeEvent(int callerId, long startTimestamp, long endTimestamp) -
onDiskWriteEvent
public static void onDiskWriteEvent(int callerId, long startTimestamp, long endTimestamp, long size) -
onDiskReadEvent
public static void onDiskReadEvent(int callerId, long startTimestamp, long endTimestamp, long size) -
onCacheSizeChangedEvent
public static void onCacheSizeChangedEvent(int callerId, long timestamp, long cacheSize, long bytesToEvict, long pinnedBytes, long readingReservedBytes) -
putRunSetting
-
getComputeEventsCSV
-
getDiskReadEventsCSV
-
getDiskWriteEventsCSV
-
getCacheSizeEventsCSV
-
getRunSettingsCSV
-
clear
public static void clear()
-