On Thu, 2009-09-17 at 09:38 -0400, Jeff Burke wrote:
> Jeff Burke wrote:
> > Kiran wrote:
> >> Hi Subrata,
> >>
> >> This patch places the rt-migrate testcase into the
> >> realtime/func/rt-migrate directory.
> >>
> >> Signed-off-by: Kiran Prakash <[email protected]>
> >>
> > Kiran,
> >     Did you get a chance to test this on both x86_64 and i386? In my 
> > stand alone version(Before you ported it to LTP). My results vary quite 
> > a bit for i386. I have attached two files.
> > standalone - Is the rt-migrate test results outside of LTP
> > ltpver - Is the rt-migrate test results ported into LTP
> > 
> > Note: The results are from the same system same kernel. The test were 
> > run back to back.
> > 
> Kiran,
>       Did you get a chance to review the results?
> Jeff
> > Thanks,
> > Jeff
> > 
> 
Hi,

This is a patch on the cvs version of LTP.

Signed-off-by: Kiran Prakash <[email protected]>

diff -Naur ltp_orig/testcases/realtime/func/rt-migrate/rt-migrate.c 
ltp/testcases/realtime/func/rt-migrate/rt-migrate.c
--- ltp_orig/testcases/realtime/func/rt-migrate/rt-migrate.c    2009-09-07 
14:29:10.000000000 +0530
+++ ltp/testcases/realtime/func/rt-migrate/rt-migrate.c 2009-09-18 
17:30:34.000000000 +0530
@@ -46,7 +46,6 @@
  *                    testcases by Kiran Prakash
  *
  */
-#define _GNU_SOURCE
 #include <stdio.h>
 #ifndef __USE_XOPEN2K
 # define __USE_XOPEN2K
@@ -247,17 +246,17 @@
        for (i = 0; i < nr_runs; i++) {
                printf("%4d:   ", i);
                for (t = 0; t < nr_tasks; t++)
-                       printf("%6lld  ", intervals[t].records[i].y);
+                       printf("%ld  ", intervals[t].records[i].y);
 
                printf("\n");
                printf(" len:   ");
                for (t = 0; t < nr_tasks; t++)
-                       printf("%6lld  ", intervals_length[t].records[i].y);
+                       printf("%ld  ", intervals_length[t].records[i].y);
 
                printf("\n");
                printf(" loops: ");
                for (t = 0; t < nr_tasks; t++)
-                       printf("%6ld  ", intervals_loops[t].records[i].y);
+                       printf("%ld  ", intervals_loops[t].records[i].y);
 
                printf("\n");
                printf("\n");

Thanks,
Kiran


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to