forked from Imagelibrary/rtems
2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* timer/timer.c: Convert using "bool".
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* timer/timer.c: Convert using "bool".
|
||||||
|
|
||||||
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* timer/timer.c: Eliminate empty function from every benchmark timer
|
* timer/timer.c: Eliminate empty function from every benchmark timer
|
||||||
|
|||||||
@@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
|
||||||
rtems_boolean benchmark_timer_find_average_overhead;
|
bool benchmark_timer_find_average_overhead;
|
||||||
|
|
||||||
rtems_boolean benchmark_timer_is_initialized = FALSE;
|
bool benchmark_timer_is_initialized = FALSE;
|
||||||
|
|
||||||
void benchmark_timer_initialize(void)
|
void benchmark_timer_initialize(void)
|
||||||
{
|
{
|
||||||
@@ -81,7 +81,7 @@ int benchmark_timer_read(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void benchmark_timer_disable_subtracting_average_overhead(
|
void benchmark_timer_disable_subtracting_average_overhead(
|
||||||
rtems_boolean find_flag
|
bool find_flag
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
benchmark_timer_find_average_overhead = find_flag;
|
benchmark_timer_find_average_overhead = find_flag;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* timer/timer.c: Convert using "bool".
|
||||||
|
|
||||||
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* timer/timer.c: Eliminate empty function from every benchmark timer
|
* timer/timer.c: Eliminate empty function from every benchmark timer
|
||||||
|
|||||||
@@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
|
||||||
rtems_boolean benchmark_timer_find_average_overhead;
|
bool benchmark_timer_find_average_overhead;
|
||||||
|
|
||||||
rtems_boolean benchmark_timer_is_initialized = FALSE;
|
bool benchmark_timer_is_initialized = FALSE;
|
||||||
|
|
||||||
void benchmark_timer_initialize(void)
|
void benchmark_timer_initialize(void)
|
||||||
{
|
{
|
||||||
@@ -71,7 +71,7 @@ int benchmark_timer_read(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void benchmark_timer_disable_subtracting_average_overhead(
|
void benchmark_timer_disable_subtracting_average_overhead(
|
||||||
rtems_boolean find_flag
|
bool find_flag
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
benchmark_timer_find_average_overhead = find_flag;
|
benchmark_timer_find_average_overhead = find_flag;
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* timer/timer.c: Convert using "bool".
|
||||||
|
|
||||||
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* timer/timer.c: Eliminate empty function from every benchmark timer
|
* timer/timer.c: Eliminate empty function from every benchmark timer
|
||||||
|
|||||||
@@ -30,9 +30,9 @@
|
|||||||
#define LEON3_TIMER_INDEX 0
|
#define LEON3_TIMER_INDEX 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rtems_boolean benchmark_timer_find_average_overhead;
|
bool benchmark_timer_find_average_overhead;
|
||||||
|
|
||||||
rtems_boolean benchmark_timer_is_initialized = FALSE;
|
bool benchmark_timer_is_initialized = FALSE;
|
||||||
|
|
||||||
extern volatile LEON3_Timer_Regs_Map *LEON3_Timer_Regs;
|
extern volatile LEON3_Timer_Regs_Map *LEON3_Timer_Regs;
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ int benchmark_timer_read(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void benchmark_timer_disable_subtracting_average_overhead(
|
void benchmark_timer_disable_subtracting_average_overhead(
|
||||||
rtems_boolean find_flag
|
bool find_flag
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
benchmark_timer_find_average_overhead = find_flag;
|
benchmark_timer_find_average_overhead = find_flag;
|
||||||
|
|||||||
Reference in New Issue
Block a user