2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>

* timer/timer.c: Include <rtems/btimer.h>.
	Fix benchmark_timer_read() definition.
This commit is contained in:
Ralf Corsepius
2011-02-09 06:41:41 +00:00
parent c8d4c6121b
commit af3048ad5e
6 changed files with 21 additions and 3 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
+2 -1
View File
@@ -15,6 +15,7 @@
#include <assert.h>
#include <bsp.h>
#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
uint32_t tstart;
@@ -30,7 +31,7 @@ void benchmark_timer_initialize(void)
#define LEAST_VALID 1 /* Don't trust a value lower than this */
/* tx39 simulator can count instructions. :) */
int benchmark_timer_read(void)
uint32_t benchmark_timer_read(void)
{
uint32_t total;
uint32_t cnt;
@@ -1,3 +1,8 @@
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
@@ -14,6 +14,7 @@
#include <assert.h>
#include <bsp.h>
#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
@@ -56,7 +57,7 @@ void benchmark_timer_initialize(void)
/* mongoose-v can count cycles. :) */
#include <rtems/bspIo.h>
int benchmark_timer_read(void)
uint32_t benchmark_timer_read(void)
{
uint32_t clicks;
uint32_t total;
+5
View File
@@ -1,3 +1,8 @@
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
+2 -1
View File
@@ -16,6 +16,7 @@
#include <assert.h>
#include <bsp.h>
#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
@@ -45,7 +46,7 @@ void benchmark_timer_initialize(void)
#define LEAST_VALID 1 /* Don't trust a value lower than this */
/* tx39 simulator can count instructions. :) */
int benchmark_timer_read(void)
uint32_t benchmark_timer_read(void)
{
uint32_t total;