<!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 examples-v2 (2011-06-13)</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-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* nbench/nbench-byte-2.2.3/sysspec.c: Eliminate use of obsolete
rtems_clock_get().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/benchmarks/ChangeLog.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>benchmarks/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/benchmarks/nbench/nbench-byte-2.2.3/sysspec.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>benchmarks/nbench/nbench-byte-2.2.3/sysspec.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u examples-v2/benchmarks/ChangeLog:1.2 examples-v2/benchmarks/ChangeLog:1.3
--- examples-v2/benchmarks/ChangeLog:1.2 Fri Apr 1 13:11:26 2011
+++ examples-v2/benchmarks/ChangeLog Mon Jun 13 09:18:56 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * nbench/nbench-byte-2.2.3/sysspec.c: Eliminate use of obsolete
+ rtems_clock_get().
+
</font> 2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile: Update to account for movement of .cfg files.
<font color='#006600'>diff -u examples-v2/benchmarks/nbench/nbench-byte-2.2.3/sysspec.c:1.1 examples-v2/benchmarks/nbench/nbench-byte-2.2.3/sysspec.c:1.2
--- examples-v2/benchmarks/nbench/nbench-byte-2.2.3/sysspec.c:1.1 Thu Mar 17 08:24:17 2011
+++ examples-v2/benchmarks/nbench/nbench-byte-2.2.3/sysspec.c Mon Jun 13 09:18:56 2011
</font><font color='#997700'>@@ -849,8 +849,6 @@
</font>
#ifdef CLOCKWCPS
/* Everybody else */
<font color='#880000'>-//int tickspersec;
-//rtems_clock_get(RTEMS_CLOCK_GET_TICKS_PER_SECOND, &tickspersec);
</font> return((unsigned long)(tickamount/10000));
#endif
<font color='#997700'>@@ -880,9 +878,6 @@
</font>
#ifdef CLOCKWCPS
/* Everybody else */
<font color='#880000'>-//int tickspersec;
-//rtems_clock_get(RTEMS_CLOCK_GET_TICKS_PER_SECOND, &tickspersec);
-
</font> return((double)tickamount/(double)1000);
#endif
</pre>
<p> </p>
<a name='cs2'></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-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* classic_signal/test.c, triple_period/init.c, triple_period/system.h,
triple_period/tasks.c: Eliminate use of obsolete rtems_clock_get().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/classic_api/ChangeLog.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>classic_api/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/classic_api/classic_signal/test.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>classic_api/classic_signal/test.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/classic_api/triple_period/init.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>classic_api/triple_period/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/classic_api/triple_period/system.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>classic_api/triple_period/system.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/classic_api/triple_period/tasks.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>classic_api/triple_period/tasks.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u examples-v2/classic_api/ChangeLog:1.4 examples-v2/classic_api/ChangeLog:1.5
--- examples-v2/classic_api/ChangeLog:1.4 Fri Apr 1 13:11:28 2011
+++ examples-v2/classic_api/ChangeLog Mon Jun 13 09:18:58 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * classic_signal/test.c, triple_period/init.c, triple_period/system.h,
+ triple_period/tasks.c: Eliminate use of obsolete rtems_clock_get().
+
</font> 2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile: Update to account for movement of .cfg files.
<font color='#006600'>diff -u examples-v2/classic_api/classic_signal/test.c:1.2 examples-v2/classic_api/classic_signal/test.c:1.3
--- examples-v2/classic_api/classic_signal/test.c:1.2 Thu Mar 3 12:00:30 2011
+++ examples-v2/classic_api/classic_signal/test.c Mon Jun 13 09:18:58 2011
</font><font color='#997700'>@@ -64,8 +64,7 @@
</font> /*
* Get starting time
*/
<font color='#880000'>- status = rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &start );
- assert( status == RTEMS_SUCCESSFUL );
</font><font color='#000088'>+ start = rtems_clock_get_ticks_since_boot();
</font>
status = rtems_signal_catch( signal_handler, RTEMS_DEFAULT_MODES );
assert( status == RTEMS_SUCCESSFUL );
<font color='#997700'>@@ -80,8 +79,7 @@
</font> assert( status == RTEMS_SUCCESSFUL );
while (1) {
<font color='#880000'>- status = rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &now );
- assert( status == RTEMS_SUCCESSFUL );
</font><font color='#000088'>+ now = rtems_clock_get_ticks_since_boot();
</font> if ( (now-start) > 100 ) {
puts( "Signal from ISR did not get processed\n" );
exit( 0 );
<font color='#006600'>diff -u examples-v2/classic_api/triple_period/init.c:1.1 examples-v2/classic_api/triple_period/init.c:1.2
--- examples-v2/classic_api/triple_period/init.c:1.1 Thu Aug 6 15:25:58 2009
+++ examples-v2/classic_api/triple_period/init.c Mon Jun 13 09:18:58 2011
</font><font color='#997700'>@@ -33,9 +33,9 @@
</font> puts( "*** This demo shows three different ways of running periodic tasks ***" );
puts( "*** It also demonstrates the CPU usage and Rate Monotonic statitistics utilities ***" );
<font color='#880000'>- rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second );
</font><font color='#000088'>+ ticks_per_second = rtems_clock_get_ticks_per_second();
</font> printf("\nTicks per second in your system: %" PRIu32 "\n", ticks_per_second);
<font color='#880000'>- rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &ticks_since_boot );
</font><font color='#000088'>+ ticks_since_boot = rtems_clock_get_ticks_since_boot();
</font> printf("Ticks since boot: %" PRIu32 "\n\n", ticks_since_boot);
time.year = 1988;
<font color='#006600'>diff -u examples-v2/classic_api/triple_period/system.h:1.1 examples-v2/classic_api/triple_period/system.h:1.2
--- examples-v2/classic_api/triple_period/system.h:1.1 Thu Aug 6 15:25:58 2009
+++ examples-v2/classic_api/triple_period/system.h Mon Jun 13 09:18:58 2011
</font><font color='#997700'>@@ -109,17 +109,6 @@
</font> } while (0)
/*
<font color='#880000'>- * static inline routine to make obtaining ticks per second easier.
- */
-
-static inline uint32_t get_ticks_per_second( void )
-{
- rtems_interval ticks_per_second;
- (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); return ticks_per_second;
-}
-
-
-/*
</font> * This allows us to view the "Test_task" instantiations as a set
* of numbered tasks by eliminating the number of application
* tasks created.
<font color='#006600'>diff -u examples-v2/classic_api/triple_period/tasks.c:1.1 examples-v2/classic_api/triple_period/tasks.c:1.2
--- examples-v2/classic_api/triple_period/tasks.c:1.1 Thu Aug 6 15:25:58 2009
+++ examples-v2/classic_api/triple_period/tasks.c Mon Jun 13 09:18:58 2011
</font><font color='#997700'>@@ -43,7 +43,7 @@
</font> rtems_cpu_usage_reset();
while( 1 ) {
<font color='#880000'>- status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
</font><font color='#000088'>+ status = rtems_clock_get_tod( &time );
</font> count++;
// sets end criteria for demo application (60 seconds)
<font color='#997700'>@@ -57,8 +57,8 @@
</font> "absolute time (rtems_task_wake_when)\n",
PERIOD_TASK_ABSOLUTE
);
<font color='#880000'>- print_time( " - rtems_clock_get - ", &time, "\n" );
- rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &ticks_since_boot );
</font><font color='#000088'>+ print_time( " - rtems_clock_get_tod - ", &time, "\n" );
+ ticks_since_boot = rtems_clock_get_ticks_since_boot();
</font> printf(" - Ticks since boot: %" PRIu32 "\n", ticks_since_boot);
rtems_time_of_day time;
<font color='#997700'>@@ -101,12 +101,12 @@
</font> count = 0;
while( 1 ) {
<font color='#880000'>- status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
</font><font color='#000088'>+ status = rtems_clock_get_tod( &time );
</font> count++;
printf( "\n\nTask 2 - activating every %d second using rate monotonic manager to schedule (rtems_rate_monotonic_period)\n", PERIOD_TASK_RATE_MONOTONIC);
<font color='#880000'>- print_time( " - rtems_clock_get - ", &time, "\n" );
- rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &ticks_since_boot );
</font><font color='#000088'>+ print_time( " - rtems_clock_get_tod - ", &time, "\n" );
+ ticks_since_boot = rtems_clock_get_ticks_since_boot();
</font> printf(" - Ticks since boot: %" PRIu32 "\n", ticks_since_boot);
if( TRUE != is_RM_created ) {
<font color='#997700'>@@ -117,8 +117,11 @@
</font> printf("RM failed with status: %d\n", status);
exit(1);
}
<font color='#880000'>- // Initiate RM periode
- status = rtems_rate_monotonic_period( RM_period, get_ticks_per_second() * PERIOD_TASK_RATE_MONOTONIC ); // Every N2 seconds
</font><font color='#000088'>+ // Initiate RM period -- every N2 seconds
+ status = rtems_rate_monotonic_period(
+ RM_period,
+ rtems_clock_get_ticks_per_second() * PERIOD_TASK_RATE_MONOTONIC
+ );
</font> if( RTEMS_SUCCESSFUL != status ) {
printf("RM failed with status: %d\n", status);
exit(1);
<font color='#997700'>@@ -126,8 +129,11 @@
</font>
is_RM_created = TRUE;
}
<font color='#880000'>- // Block until RM period has expired
- status = rtems_rate_monotonic_period( RM_period, get_ticks_per_second() * PERIOD_TASK_RATE_MONOTONIC ); // Every N2 seconds
</font><font color='#000088'>+ // Block until RM period has expired -- every N2 seconds
+ status = rtems_rate_monotonic_period(
+ RM_period,
+ rtems_clock_get_ticks_per_second() * PERIOD_TASK_RATE_MONOTONIC
+ );
</font> if( RTEMS_SUCCESSFUL != status ) {
if( RTEMS_TIMEOUT != status ) {
printf("RM missed period!\n");
<font color='#997700'>@@ -157,14 +163,22 @@
</font> uint32_t ticks_since_boot;
while( 1 ) {
<font color='#880000'>- status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
</font><font color='#000088'>+ status = rtems_clock_get_tod( &time );
</font>
<font color='#880000'>- printf( "\n\nTask 3 - activating after every %d second using relative time (rtems_task_wake_after)\n", PERIOD_TASK_RELATIVE);
- print_time( " - rtems_clock_get - ", &time, "\n" );
- rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &ticks_since_boot );
- printf(" - Ticks since boot: %" PRIu32 "\n", ticks_since_boot); // Note how the ticks are drifting with this method
</font><font color='#000088'>+ printf(
+ "\n\nTask 3 - activating after every %d second using relative "
+ "time (rtems_task_wake_after)\n",
+ PERIOD_TASK_RELATIVE
+ );
+ print_time( " - rtems_clock_get_tod - ", &time, "\n" );
+ ticks_since_boot = rtems_clock_get_ticks_since_boot();
+ // Note how the ticks are drifting with this method
+ printf(" - Ticks since boot: %" PRIu32 "\n", ticks_since_boot);
</font>
<font color='#880000'>- status = rtems_task_wake_after( get_ticks_per_second() * PERIOD_TASK_RELATIVE ); // Every N3 seconds
</font><font color='#000088'>+ // Every N3 seconds
+ status = rtems_task_wake_after(
+ rtems_clock_get_ticks_per_second() * PERIOD_TASK_RELATIVE
+ );
</font> }
}
</pre>
<p> </p>
<a name='cs3'></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-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* ratemon_cond_server/test.c: Eliminate use of obsolete
rtems_clock_get().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/led/ChangeLog.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>led/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/led/ratemon_cond_server/test.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>led/ratemon_cond_server/test.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u examples-v2/led/ChangeLog:1.13 examples-v2/led/ChangeLog:1.14
--- examples-v2/led/ChangeLog:1.13 Fri Apr 1 13:11:36 2011
+++ examples-v2/led/ChangeLog Mon Jun 13 09:19:01 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * ratemon_cond_server/test.c: Eliminate use of obsolete
+ rtems_clock_get().
+
</font> 2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile: Update to account for movement of .cfg files.
<font color='#006600'>diff -u examples-v2/led/ratemon_cond_server/test.c:1.2 examples-v2/led/ratemon_cond_server/test.c:1.3
--- examples-v2/led/ratemon_cond_server/test.c:1.2 Thu Dec 17 14:09:11 2009
+++ examples-v2/led/ratemon_cond_server/test.c Mon Jun 13 09:19:01 2011
</font><font color='#997700'>@@ -73,7 +73,7 @@
</font> if ( rt_status )
fprintf( stderr, "Period - did not work (%d)\n", rt_status );
<font color='#880000'>- ticks = get_ticks_per_second();
</font><font color='#000088'>+ ticks = rtems_clock_get_ticks_per_second();
</font>
for ( ; ; ) {
</pre>
<p> </p>
<a name='cs4'></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-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* low_ticker/init.c, ticker/init.c: Eliminate use of obsolete
rtems_clock_get().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/ticker/ChangeLog.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%'>ticker/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/ticker/low_ticker/init.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>ticker/low_ticker/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/ticker/ticker/init.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>ticker/ticker/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u examples-v2/ticker/ChangeLog:1.3 examples-v2/ticker/ChangeLog:1.4
--- examples-v2/ticker/ChangeLog:1.3 Fri Apr 1 13:11:42 2011
+++ examples-v2/ticker/ChangeLog Mon Jun 13 09:19:05 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * low_ticker/init.c, ticker/init.c: Eliminate use of obsolete
+ rtems_clock_get().
+
</font> 2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile: Update to account for movement of .cfg files.
<font color='#006600'>diff -u examples-v2/ticker/low_ticker/init.c:1.1 examples-v2/ticker/low_ticker/init.c:1.2
--- examples-v2/ticker/low_ticker/init.c:1.1 Thu Aug 6 15:25:58 2009
+++ examples-v2/ticker/low_ticker/init.c Mon Jun 13 09:19:05 2011
</font><font color='#997700'>@@ -27,11 +27,12 @@
</font> rtems_shutdown_executive( 0 );
}
printk( "TA%d %s%02d:%02d:%02d %02d/%02d/%04d\n",
<font color='#880000'>- task_index, " - rtems_clock_get - ",<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ task_index, " - rtems_clock_get_tod - ",<span style="background-color: #FF0000"> </span>
</font> (int) time.hour, (int) time.minute, (int) time.second,
(int) time.month, (int) time.day, (int) time.year );
status = rtems_task_wake_after(
<font color='#880000'>- task_index * 5 * rtems_clock_get_ticks_per_second() );
</font><font color='#000088'>+ task_index * 5 * rtems_clock_get_ticks_per_second()
+ );
</font> }
}
<font color='#006600'>diff -u examples-v2/ticker/ticker/init.c:1.2 examples-v2/ticker/ticker/init.c:1.3
--- examples-v2/ticker/ticker/init.c:1.2 Tue Oct 6 16:46:29 2009
+++ examples-v2/ticker/ticker/init.c Mon Jun 13 09:19:05 2011
</font><font color='#997700'>@@ -31,14 +31,16 @@
</font> status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
task_index = task_number( tid );
for ( ; ; ) {
<font color='#880000'>- status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
</font><font color='#000088'>+ status = rtems_clock_get_tod( &time );
</font> if ( time.second >= 35 ) {
puts( "*** END OF CLOCK TICK TEST ***" );
exit( 0 );
}
put_name( Task_name[ task_index ], FALSE );
<font color='#880000'>- print_time( " - rtems_clock_get - ", &time, "\n" );
- status = rtems_task_wake_after( task_index * 5 * get_ticks_per_second() );
</font><font color='#000088'>+ print_time( " - rtems_clock_get_tod - ", &time, "\n" );
+ status = rtems_task_wake_after(
+ task_index * 5 * rtems_clock_get_ticks_per_second()
+ );
</font> }
}
</pre>
<p> </p>
<a name='cs5'></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-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* testmacros.h: Eliminate use of obsolete rtems_clock_get().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/ChangeLog.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//examples-v2/testmacros.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testmacros.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u examples-v2/ChangeLog:1.5 examples-v2/ChangeLog:1.6
--- examples-v2/ChangeLog:1.5 Fri Apr 1 13:11:46 2011
+++ examples-v2/ChangeLog Mon Jun 13 09:19:07 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * testmacros.h: Eliminate use of obsolete rtems_clock_get().
+
</font> 2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile: Update to account for movement of .cfg files.
<font color='#006600'>diff -u examples-v2/testmacros.h:1.1 examples-v2/testmacros.h:1.2
--- examples-v2/testmacros.h:1.1 Thu Aug 6 15:25:58 2009
+++ examples-v2/testmacros.h Mon Jun 13 09:19:07 2011
</font><font color='#997700'>@@ -53,17 +53,6 @@
</font> } while (0)
/*
<font color='#880000'>- * static inline routine to make obtaining ticks per second easier.
- */
-
-static inline uint32_t get_ticks_per_second( void )
-{
- rtems_interval ticks_per_second;
- (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); return ticks_per_second;
-}
-
-
-/*
</font> * This allows us to view the "Test_task" instantiations as a set
* of numbered tasks by eliminating the number of application
* tasks created.
</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>