From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4450B27C.6030200@domain.hid> Date: Thu, 27 Apr 2006 08:01:00 -0400 From: Jim Cromie MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060304050005080705010306" Subject: [Xenomai-core] patch - xeno-test: set useful default for latency runtimes List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai-core This is a multi-part message in MIME format. --------------060304050005080705010306 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. --------------060304050005080705010306 Content-Type: text/plain; name="patch-test-tweaks" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-test-tweaks" 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 (default: 10 sec, for demo purposes) - -l - -H - -B + -T (default: 120 sec) + -l (default 21) + -H (default 100) + -B (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 --------------060304050005080705010306--