Signed-off-by: Gilles Carry <[EMAIL PROTECTED]>
Cc: Darren Hart <[EMAIL PROTECTED]>
Cc: Tim Chavez <[EMAIL PROTECTED]>
---
 .../realtime/func/hrtimer-prio/hrtimer-prio.c      |   48 ++++++++++----------
 1 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c 
b/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
index 3951a08..d1cdaaf 100644
--- a/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
+++ b/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
@@ -72,7 +72,7 @@ static unsigned long max_delta;
 
 void usage(void)
 {
-        rt_help();
+       rt_help();
        printf("hrtimer-prio specific options:\n");
        printf("  -j            enable jvmsim\n");
        printf("  -t#           #:busy work time in ms, defaults to %d ms\n", 
DEF_BUSY_TIME);
@@ -85,14 +85,14 @@ void usage(void)
 int parse_args(int c, char *v)
 {
 
-        int handled = 1;
-        switch (c) {
-                case 'j':
-                        run_jvmsim = 1;
-                        break;
-                case 'h':
-                        usage();
-                        exit(0);
+       int handled = 1;
+       switch (c) {
+               case 'j':
+                       run_jvmsim = 1;
+                       break;
+               case 'h':
+                       usage();
+                       exit(0);
                case 't':
                        busy_time = atoi(v);
                        break;
@@ -102,21 +102,21 @@ int parse_args(int c, char *v)
                case 'f':
                        med_prio = MIN(atoi(v), 98);
                        break;
-                case 'i':
+               case 'i':
                        iterations = atoi(v);
                        if (iterations < 100) {
                                fprintf(stderr, "Number of iterations cannot be 
less than 100.\n");
                                exit(1);
                        }
-                        break;
-                case 'm':
-                       criteria = atoi(v);
-                        break;
-                default:
-                        handled = 0;
-                        break;
-        }
-        return handled;
+               break;
+       case 'm':
+               criteria = atoi(v);
+               break;
+       default:
+               handled = 0;
+               break;
+}
+return handled;
 }
 
 void *busy_thread(void *thread)
@@ -184,11 +184,11 @@ int main(int argc, char *argv[])
        printf("Timer thread priority: %d\n", high_prio);
 
        if (run_jvmsim) {
-                printf("jvmsim enabled\n");
-                jvmsim_init();  // Start the JVM simulation
-        } else {
-                printf("jvmsim disabled\n");
-        }
+               printf("jvmsim enabled\n");
+               jvmsim_init();  // Start the JVM simulation
+       } else {
+               printf("jvmsim disabled\n");
+       }
 
        stats_container_t hist;
        stats_quantiles_t quantiles;
-- 
1.5.4.3.450.gb92176


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to