This repository has been archived on 2024-04-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
elektron/docs/data/withSpsEnabled/SchedulingPolicySwitchTrace.md

16 lines
681 B
Markdown
Raw Normal View History

# 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 _\<logFilePrefix\>\_\<timestamp\>\_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.
```
[<loglevel>]: <yyyy-mm-dd> <hh:mm:ss> Name=<sched policy name>
```
_Note: The names of the scheduling policies can be found [here](https://gitlab.com/spdf/elektron/blob/master/schedulers/store.go#L14)_