Class AutoTuningManager
java.lang.Object
org.episteme.core.technical.algorithm.AutoTuningManager
Manages performance-based tuning for providers.
Loads benchmark results and provides scoring logic.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetDynamicScore(String providerName, int dim, int defaultPriority) Calculates a dynamic score based on benchmark data.static AutoTuningManager.ModegetMode()static voidstatic voidrecordSample(String providerName, int dim, double durationMs, long ops) Records a live performance sample from an operation.static void
-
Constructor Details
-
AutoTuningManager
public AutoTuningManager()
-
-
Method Details
-
getMode
-
loadResults
public static void loadResults() -
saveResults
public static void saveResults() -
recordSample
Records a live performance sample from an operation. -
getDynamicScore
Calculates a dynamic score based on benchmark data.- Parameters:
providerName- name of the providerdim- dimensionality (e.g. matrix rows)defaultPriority- the hardcoded priority- Returns:
- dynamic score
-