From: Subrata M. <su...@li...> - 2008-05-06 13:13:54
|
On Mon, 2008-05-05 at 20:37 +0530, Chirag Jog wrote: > * Gilles Carry <gil...@bu...> [2008-05-05 13:12:48]: > > > Modified periodic_cpu_load_single.c > > Changed arg -c to -l (calculation per loop). > > In next patch, -c arg is to be used as pass/fail criteria globally for all tests. > > > > Signed-off-by: Gilles Carry <gil...@bu...> > > Cc: Darren Hart <dv...@us...> > > Cc: Tim Chavez <ti...@us...> > Acked-by: Chirag <ch...@li...> Merged-by: Subrata Modak <su...@li...> Thanks > > > --- > > .../periodic_cpu_load/periodic_cpu_load_single.c | 6 +++--- > > 1 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single.c b/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single.c > > index 96be956..7652996 100644 > > --- a/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single.c > > +++ b/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single.c > > @@ -64,7 +64,7 @@ void usage(void) > > { > > rt_help(); > > printf("periodic_cpu_load_single specific options:\n"); > > - printf(" -cCALC_LOOPS loops per iteration\n"); > > + printf(" -lCALC_LOOPS loops per iteration\n"); > > printf(" -fFILENAME_PREFIX filename prefix for plot output\n"); > > printf(" -iITERATIONS number of iterations to calculate the average over\n"); > > printf(" -j enable jvmsim\n"); > > @@ -163,7 +163,7 @@ int parse_args(int c, char *v) > > { > > int handled = 1; > > switch (c) { > > - case 'c': > > + case 'l': > > calc_loops = atoi(v); > > break; > > case 'f': > > @@ -198,7 +198,7 @@ int main(int argc, char *argv[]) > > calc_loops = DEFAULT_CALC_LOOPS; > > setup(); > > > > - rt_init("f:jhi:r:t:c:", parse_args, argc, argv); > > + rt_init("f:jhi:r:t:l:", parse_args, argc, argv); > > > > if (iterations < 100) { > > printf("Number of iterations cannot be less than 100\n"); > > -- > > 1.5.4.3.450.gb92176 > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > Ltp-list mailing list > > Ltp...@li... > > https://lists.sourceforge.net/lists/listinfo/ltp-list > |