forked from Imagelibrary/rtems
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:
@@ -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-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* make/custom/erc32.cfg: Remove -ftest-coverage.
|
* make/custom/erc32.cfg: Remove -ftest-coverage.
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
#include <rtems/btimer.h>
|
||||||
|
|
||||||
bool benchmark_timer_find_average_overhead;
|
bool benchmark_timer_find_average_overhead;
|
||||||
|
|
||||||
@@ -63,7 +64,7 @@ void benchmark_timer_initialize(void)
|
|||||||
#define LEAST_VALID 13 /* Don't trust a value lower than this */
|
#define LEAST_VALID 13 /* Don't trust a value lower than this */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int benchmark_timer_read(void)
|
uint32_t benchmark_timer_read(void)
|
||||||
{
|
{
|
||||||
uint32_t total;
|
uint32_t total;
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
#include <rtems/btimer.h>
|
||||||
|
|
||||||
bool benchmark_timer_find_average_overhead;
|
bool benchmark_timer_find_average_overhead;
|
||||||
|
|
||||||
@@ -53,7 +54,7 @@ void benchmark_timer_initialize(void)
|
|||||||
/* to start/stop the timer. */
|
/* to start/stop the timer. */
|
||||||
#define LEAST_VALID 2 /* Don't trust a value lower than this */
|
#define LEAST_VALID 2 /* Don't trust a value lower than this */
|
||||||
|
|
||||||
int benchmark_timer_read(void)
|
uint32_t benchmark_timer_read(void)
|
||||||
{
|
{
|
||||||
uint32_t total;
|
uint32_t total;
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
#include <rtems/btimer.h>
|
||||||
|
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
#define LEON3_TIMER_INDEX \
|
#define LEON3_TIMER_INDEX \
|
||||||
@@ -57,7 +58,7 @@ void benchmark_timer_initialize(void)
|
|||||||
/* to start/stop the timer. */
|
/* to start/stop the timer. */
|
||||||
#define LEAST_VALID 2 /* Don't trust a value lower than this */
|
#define LEAST_VALID 2 /* Don't trust a value lower than this */
|
||||||
|
|
||||||
int benchmark_timer_read(void)
|
uint32_t benchmark_timer_read(void)
|
||||||
{
|
{
|
||||||
uint32_t total;
|
uint32_t total;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user