forked from Imagelibrary/rtems
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/milkymist_timer/timer.c, shared/timer/timer.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* shared/milkymist_timer/timer.c, shared/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.
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <bsp.h>
|
||||
#include <rtems/btimer.h>
|
||||
#include "../include/system_conf.h"
|
||||
#include "../../shared/clock/clock.h"
|
||||
|
||||
@@ -58,7 +59,7 @@ void benchmark_timer_initialize( void )
|
||||
/* This value is in microseconds. */
|
||||
#define LEAST_VALID 4 /* Don't trust a clicks value lower than this */
|
||||
|
||||
int benchmark_timer_read( void )
|
||||
uint32_t benchmark_timer_read( void )
|
||||
{
|
||||
uint32_t ticks;
|
||||
uint32_t total;
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <bsp.h>
|
||||
#include <rtems/btimer.h>
|
||||
#include "../include/system_conf.h"
|
||||
#include "../../shared/clock/clock.h"
|
||||
|
||||
@@ -77,7 +78,7 @@ void benchmark_timer_initialize( void )
|
||||
/* This value is in microseconds. */
|
||||
#define LEAST_VALID 4 /* Don't trust a clicks value lower than this */
|
||||
|
||||
int benchmark_timer_read( void )
|
||||
uint32_t benchmark_timer_read( void )
|
||||
{
|
||||
uint32_t ticks;
|
||||
uint32_t total;
|
||||
|
||||
Reference in New Issue
Block a user