mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 05:28:32 +08:00
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-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user