Jan Kiszka wrote:
> list="a,b,c,d"
> for option in `echo $list|sed -e's/,/\n/g'`; do
> case $option in
> a)
> do_this
> ;;
> b)
> do_that
> ;;
> ...
> esac
> done
What about:
save_ifs="$IFS"
IFS=,
for option
Jim Cromie wrote:
> Jan Kiszka wrote:
>> Jim Cromie wrote:
>>
>>> ...
>>> just responding to small part now..
>>>
>>> this patch adds switchtest, switchbench (and drops switch) and irqbench.
>>>
>>> each test-prog has a corresponding $XENOT_
>>> with which you can inject new test arguments indivi
Jim Cromie wrote:
> I think I added it at some point when I wasnt getting output.
> It works without the -n too, which should be added via XENOT_SWITCHTEST,
> not stuffed in by default. You could just edit it out of patch, if
> otherwize satisfied...
Patch applied without -n, thanks.
--
Jim Cromie wrote:
> Offhand, that seems counterintuitive that -n gives lower growth-rate of
> total switches,
> since its equivalent to a shorter list of 'threadspec's
In addition to the threads specified by the 'threadspec's list,
switchtest create a thread (named sleeper) that sleep 10 ms ev
Jan Kiszka wrote:
Jim Cromie wrote:
...
just responding to small part now..
this patch adds switchtest, switchbench (and drops switch) and irqbench.
each test-prog has a corresponding $XENOT_
with which you can inject new test arguments individually.
Most of these can be undef'd, except for
Jim Cromie wrote:
> ...
> Also, 2 possible output change requests:
>
> a - print per-sample measures, not accumulating ones.
>this is more consistent with latency, which prints the latencies
>seen over the 1-sec sample period
>This also feeds better into histogram, w/o adding 'delta' l
Gilles Chanteperdrix wrote:
Jim Cromie wrote:
> [ 1574.162754] Xenomai: starting RTDM services.
> cpu 0: 2079 context switches.
> cpu 0: 4212 context switches.
> cpu 0: 6336 context switches.
> cpu 0: 8442 context switches.
> ...
> cpu 0: 246981 context switches.
> cpu 0: 249096 context s
Jim Cromie wrote:
> ...
> just responding to small part now..
>
> this patch adds switchtest, switchbench (and drops switch) and irqbench.
>
> each test-prog has a corresponding $XENOT_
> with which you can inject new test arguments individually.
> Most of these can be undef'd, except for XENOT_I
Gilles Chanteperdrix wrote:
> A question: I see that you always use the -n option, do you have
> problems running the test without this option ? When launched with the
> -n option switchtest does not test cpu context switches.
s/cpu/FPU/
--
Gille
Jim Cromie wrote:
> [ 1574.162754] Xenomai: starting RTDM services.
> cpu 0: 2079 context switches.
> cpu 0: 4212 context switches.
> cpu 0: 6336 context switches.
> cpu 0: 8442 context switches.
> ...
> cpu 0: 246981 context switches.
> cpu 0: 249096 context switches.
> cpu 0: 250263 cont
Jan Kiszka wrote:
Hi all,
Jim raised these issues nicely to a generic level. I would like to pick
it up and add some thoughts.
Jim Cromie wrote:
...
FWIW, I noted that xeno-test is not running these:
- switchbench
- switchtest
- irqbench
Im not sure they belong in xeno-test though, since t
Jim Cromie wrote:
> Jan Kiszka wrote:
>> ...
>> So, how to proceed?
>>
> wiki++
>
> 1 file at a time - I suppose..
>
> I'll start by poaching Hannes' Makefile, bundling it into an examples/
> dir with
> my 3-way version of his timer programs. Id like see the target files
> appear as 0 len f
Jan Kiszka wrote:
Hi all,
Jim raised these issues nicely to a generic level. I would like to pick
it up and add some thoughts.
Jim Cromie wrote:
...
FWIW, I noted that xeno-test is not running these:
- switchbench
- switchtest
- irqbench
Im not sure they belong in xeno-test though, since t
13 matches
Mail list logo