<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems-testing (2011-07-12)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtmtest_single/init.c: Fix operation count and move timing to
method.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/ChangeLog.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>rtems-test-template/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/rtems-test-template/psxtmtest_single/init.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>rtems-test-template/psxtmtest_single/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/rtems-test-template/ChangeLog:1.14 rtems-testing/rtems-test-template/ChangeLog:1.15
--- rtems-testing/rtems-test-template/ChangeLog:1.14 Thu Jun 30 17:26:16 2011
+++ rtems-testing/rtems-test-template/ChangeLog Tue Jul 12 08:20:03 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * psxtmtest_single/init.c: Fix operation count and move timing to
+ method.
+
</font> 2011-06-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtmtest_blocking/init.c: Add tmacros.h
<font color='#006600'>diff -u rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.3 rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.4
--- rtems-testing/rtems-test-template/psxtmtest_single/init.c:1.3 Mon Jun 13 14:28:14 2011
+++ rtems-testing/rtems-test-template/psxtmtest_single/init.c Tue Jul 12 08:20:03 2011
</font><font color='#997700'>@@ -17,30 +17,38 @@
</font> #include <rtems/timerdrv.h>
#include "test_support.h"
<font color='#880000'>-void *POSIX_Init(
- void *argument
-)
</font><font color='#000088'>+void benchmark_NAME_OF_OPERATION(void)
</font> {
long end_time;
<font color='#880000'>-
- puts( "\n\n*** POSIX TIME TEST @UPPER@ ***" );
-
- /* XXX any required initialization goes here */
</font><font color='#000088'>+ int status;
</font>
benchmark_timer_initialize();
<font color='#880000'>-
- /* XXX single shot operation goes here */
-
</font><font color='#000088'>+ /* XXX single shot operation goes here -- test expected status outside */
+ /* XXX of the benchmark'ed region */
</font> end_time = benchmark_timer_read();
<font color='#000088'>+ rtems_test_assert( status == 0 );
</font>
put_time(
"@DESC@",
end_time,
<font color='#880000'>- OPERATION_COUNT,
</font><font color='#000088'>+ 1, /* Only executed once */
</font> 0,
0
);
<font color='#000088'>+}
+
+void *POSIX_Init(
+ void *argument
+)
+{
+
+ puts( "\n\n*** POSIX TIME TEST @UPPER@ ***" );
+
+ /* XXX any required initialization goes here */
+
+ benchmark_NAME_OF_OPERATION();
+<span style="background-color: #FF0000"> </span>
</font> puts( "*** END OF POSIX TIME TEST @UPPER@ ***" );
rtems_test_exit(0);
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>