Skip to contentSkip to conversation

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

Xenomai-core Applied Jim Cromie 2 participants 2 messages Apr 27, 2006

lore
Share & tools
lore

Jim Cromie

author
#0 lore raw

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.

xeno-test.in +6 -6
Index: scripts/xeno-test.in
===================================================================
@@ -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
#1 lore raw
Quoted 4 lines · Jim Cromie

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.

Applied, thanks.

Signature · 1 line
Philippe.