From 9a4470fd16c413bd17564ee2873eae211d3aadde Mon Sep 17 00:00:00 2001 From: Pradyumna Kaushik Date: Fri, 5 Oct 2018 22:49:23 -0400 Subject: [PATCH] Description for scheduling policy switch trace. --- .../withSpsEnabled/SchedulingPolicySwitchTrace.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/data/withSpsEnabled/SchedulingPolicySwitchTrace.md b/docs/data/withSpsEnabled/SchedulingPolicySwitchTrace.md index e69de29..b37661f 100644 --- a/docs/data/withSpsEnabled/SchedulingPolicySwitchTrace.md +++ b/docs/data/withSpsEnabled/SchedulingPolicySwitchTrace.md @@ -0,0 +1,15 @@ +# Scheduling Policy Switch Trace + +Every time _Elektron_ switches to a different scheduling policy, the name of the scheduling policy and the time at which the switch took place is logged. + +The logs are written to a file named _\\_\_schedPolSwitch.log_, where +* _logFilePrefix_ is the prefix provided using the `-logPrefix` option. +* _timestamp_ corresponds to the time when _Elektron_ was run. + +The format of the data logged is as shown below. +``` + +``` + +_Note: The names of the scheduling policies can be found [here](https://gitlab.com/spdf/elektron/blob/master/schedulers/store.go#L14)_ +