change log for rtems-testing (2011-06-11)

rtems-vc at rtems.org rtems-vc at rtems.org
Sat Jun 11 09:10:05 UTC 2011


 *joel*:
2011-06-10	Joel Sherrill <joel.sherrill at oarcorp.com>

	* psxtmtest_single/init.c: More meat.

M   1.10  rtems-test-template/ChangeLog
M    1.2  rtems-test-template/psxtmtest_single/init.c

diff -u rtems-testing/rtems-test-template/ChangeLog:1.9 rtems-testing/rtems-test-template/ChangeLog:1.10
--- rtems-testing/rtems-test-template/ChangeLog:1.9	Sun Mar 13 17:17:27 2011
+++ rtems-testing/rtems-test-template/ChangeLog	Fri Jun 10 08:19:07 2011
@@ -1,3 +1,7 @@
+2011-06-10	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* psxtmtest_single/init.c: More meat.
+
 2011-03-13	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* psxtest_with_thread/.init.c.swp: Removed.

diff -u rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.1 rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.2
--- rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.1	Fri Nov  5 14:33:03 2010
+++ rtems-testing/rtems-test-template/psxtmtest_single/init.c	Fri Jun 10 08:19:07 2011
@@ -1,5 +1,5 @@
 /*
- *  COPYRIGHT (c) 1989-2010.
+ *  COPYRIGHT (c) 1989-2011.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -18,10 +18,26 @@
   void *argument
 )
 {
+  long end_time;
+
   puts( "\n\n*** POSIX TIME TEST @DESC@ ***" );
 
-  /* XXX test code goes here */
-  
+  /* XXX any required initialization goes here */
+
+  benchmark_timer_initialize();
+
+  /* XXX single shot operation goes here */
+
+  end_time = benchmark_timer_read();
+
+  put_time(
+    "@DESC@",
+    end_time,
+    OPERATION_COUNT,
+    0,
+    0
+  );
+
   puts( "*** END OF POSIX TIME TEST @DESC@ ***" );
 
   rtems_test_exit(0);
@@ -32,7 +48,7 @@
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
 
-#define CONFIGURE_MAXIMUM_POSIX_THREADS     2
+#define CONFIGURE_MAXIMUM_POSIX_THREADS     1
 #define CONFIGURE_POSIX_INIT_THREAD_TABLE
 
 #define CONFIGURE_INIT



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110611/a2352de2/attachment.html>


More information about the vc mailing list