diff options
author | Juri Lelli <juri.lelli@arm.com> | 2016-11-24 16:59:10 +0000 |
---|---|---|
committer | Juri Lelli <juri.lelli@arm.com> | 2016-11-25 08:21:18 +0000 |
commit | a1f04ee39b900957538b90f51ade0d71c6a894ff (patch) | |
tree | afb9de6e7da8507e1c0c19e07ca86a0675f3bb67 /doc | |
parent | 50e9a5123e65e77cd4aeca4c8b0eded16579bb14 (diff) |
rt-app: introduce cumulative_slack global option
It might be useful, for phases that contains multiple timer events, to
accumulate intermediate slack and report this number once the phase
completes. Implement such behaviour and introduce a global option to
select between current behaivour and the new one.
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tutorial.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/tutorial.txt b/doc/tutorial.txt index a4455b6..54488a0 100644 --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -137,6 +137,10 @@ Default value is "/dev/null". used to create IO-bounded and memory-bounded busy loop. Default value is 4194304(4MB). +* cumulative_slack : Boolean. Accumulate slack (see below) measured during + successive timer events in a phase. Default value is False (time between the + end of last event and the end of the phase). + *** default global object: "global" : { "duration" : -1, @@ -150,7 +154,8 @@ used to create IO-bounded and memory-bounded busy loop. Default value is "ftrace" : false, "gnuplot" : false, "io_device" : "/dev/null" - "mem_buffer_size" : 4194304 + "mem_buffer_size" : 4194304, + "cumulative_slack" : false } **** tasks object **** @@ -499,8 +504,8 @@ metrics are: - start/end : absolute start and end time of a phase. Same time base is used in ftrace - rel_st: start time of a phase relatively to the beg of the use case -- slack: for periodic phases (phases that ends with a timer), time between the - end of last event and the end of the phase, e.g. +- slack: if global option "cumulative_slack" (see above) is false, time between + the end of last event and the end of the phase, e.g. taskA ...|-- run5 --|- sleep5 -|-- run5--|..timer20.|-- run5 --|- sleep5 -|-- run6 --|.timer20.| <--------------- period 20 --------------> <--------------- period 20 --------------> @@ -513,6 +518,10 @@ metrics are: <--------------- period 20 --------------> <slack-5> + if global option "cumulative_slack" is true, all the intermediate slacks of a + phase with multiple timers are accumulated and reported when the phase + completes + - c_duration: sum of the configured duration of run/runtime events - c_period: sum of the timer(s) period(s) - wu_lat: sum of wakeup latencies after timer events |