From: Subrata <sub...@us...> - 2008-11-28 10:30:18
|
Update of /cvsroot/ltp/ltp/testcases/realtime/func/sched_jitter In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2065/ltp/testcases/realtime/func/sched_jitter Modified Files: sched_jitter.c Log Message: Remove references of jvmsim from the tests: Most of the testcases, have an option (-j) which runs the jvmsim as a background load so as to simulate the behavior of the JVM.This patch removes the references of jvmsim from all the testcases. Signed-Off-By: Chirag <ch...@li...>, Acked-by: Sripathi Kodi <sri...@in...>. Index: sched_jitter.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/realtime/func/sched_jitter/sched_jitter.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** sched_jitter.c 22 Feb 2008 14:43:58 -0000 1.3 --- sched_jitter.c 28 Nov 2008 10:30:13 -0000 1.4 *************** *** 32,36 **** * USAGE: * Use run_auto.sh script in current directory to build and run test. - * Use "-j" to enable jvm simulator. * * AUTHOR --- 32,35 ---- *************** *** 50,54 **** #include <libstats.h> #include <librttest.h> - #include <libjvmsim.h> #define NUMRUNS 1000 --- 49,52 ---- *************** *** 62,66 **** volatile int flag; /*let interrupter know we're done */ - static int run_jvmsim=0; void usage(void) --- 60,63 ---- *************** *** 68,72 **** rt_help(); printf("sched_jitter specific options:\n"); - printf(" -j enable jvmsim\n"); } --- 65,68 ---- *************** *** 76,82 **** int handled = 1; switch (c) { - case 'j': - run_jvmsim = 1; - break; case 'h': usage(); --- 72,75 ---- *************** *** 177,188 **** setup(); ! rt_init("jh",parse_args,argc,argv); ! ! if (run_jvmsim) { ! printf("jvmsim enabled\n"); ! jvmsim_init(); // Start the JVM simulation ! } else { ! printf("jvmsim disabled\n"); ! } interrupter = create_fifo_thread(thread_interrupter, NULL, 80); --- 170,174 ---- setup(); ! rt_init("h",parse_args,argc,argv); interrupter = create_fifo_thread(thread_interrupter, NULL, 80); |