2015-05-26 00:49:52

by Andrea Parri

[permalink] [raw]
Subject: [PATCH] Documentation/scheduler/sched-deadline.txt: fix schedtool's time-units


Use the proper time-units for schedtool's reservation parameters.

Signed-off-by: Andrea Parri <[email protected]>
---
Documentation/scheduler/sched-deadline.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/scheduler/sched-deadline.txt b/Documentation/scheduler/sched-deadline.txt
index 21461a0..9e8ca8c 100644
--- a/Documentation/scheduler/sched-deadline.txt
+++ b/Documentation/scheduler/sched-deadline.txt
@@ -393,7 +393,7 @@ Appendix A. Test suite
# schedtool -E -t 10000000:100000000 -e ./my_cpuhog_app

With this, my_cpuhog_app is put to run inside a SCHED_DEADLINE reservation
- of 10ms every 100ms (note that parameters are expressed in microseconds).
+ of 10ms every 100ms (note that parameters are expressed in nanoseconds).
You can also use schedtool to create a reservation for an already running
application, given that you know its pid: