logo       

patch - xeno-test: set useful default for latency runtimes: msg#00218

linux.real-time.xenomai.devel

Subject: patch - xeno-test: set useful default for latency runtimes

hi

bump up the latency runtime default: -T 10, to something useful, but not too long: -T 120.
also inform help-user of existing defaults, some of which are wired in latency itself.
Index: scripts/xeno-test.in
===================================================================
--- scripts/xeno-test.in (revision 1005)
+++ scripts/xeno-test.in (working copy)
@@ -24,12 +24,12 @@

# following options are passed thru to latency
-s print statistics of sampled data (default on)
- -h print histogram of sampled data (default on)
+ -h print histogram of sampled data (default on, implies -s)
-q quiet, dont print 1 sec sampled data (default on, off if !-T)
- -T <sec test> (default: 10 sec, for demo purposes)
- -l <data/header lines>
- -H <bucketcount>
- -B <bucketsize ns>
+ -T <sec test> (default: 120 sec)
+ -l <data/header lines> (default 21)
+ -H <bucketcount> (default 100)
+ -B <bucketsize ns> (default 1000)
EOF
# NB: many defaults are coded in latency
exit 1
@@ -120,7 +120,7 @@

run_w_load() {
local opts="$*";
- [ "$opts" = '' ] && opts='-q -s -T 10'
+ [ "$opts" = '' ] && opts='-q -s -T 120'

boxinfo
loudly generate_loads $workload
_______________________________________________
Xenomai-core mailing list
Xenomai-core@xxxxxxx
https://mail.gna.org/listinfo/xenomai-core
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise