diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-31 16:07:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-31 16:07:58 +0000 |
commit | 35f52a69829e2a1e3180949ca38592d2b13034de (patch) | |
tree | 30d9b664d846d95d42d7f86d17ddf0c0bd6e4744 /c/src/lib/libbsp/arm/nds/timer/timer.c | |
parent | 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-35f52a69829e2a1e3180949ca38592d2b13034de.tar.bz2 |
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Rename timer driver methods to follow RTEMS
programming conventions.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/nds/timer/timer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/arm/nds/timer/timer.c b/c/src/lib/libbsp/arm/nds/timer/timer.c index f22915e8ac..949bf37a9a 100644 --- a/c/src/lib/libbsp/arm/nds/timer/timer.c +++ b/c/src/lib/libbsp/arm/nds/timer/timer.c @@ -15,10 +15,10 @@ #include <bsp.h> #include <nds.h> -bool Timer_driver_Find_average_overhead; +bool benchmark_timerfind_average_overhead; void -Timer_initialize (void) +benchmark_timerinitialize (void) { TIMER_CR (1) = 0x0000; TIMER_CR (2) = 0x0000; @@ -36,7 +36,7 @@ Timer_initialize (void) #define LEAST_VALID 1 uint32_t -Read_timer (void) +benchmark_timerread (void) { uint32_t ticks; @@ -50,13 +50,13 @@ Read_timer (void) } rtems_status_code -Empty_function (void) +benchmark_timerempty_function (void) { return RTEMS_SUCCESSFUL; } void -Set_find_average_overhead (bool find_flag) +benchmark_timerdisable_subtracting_average_overhead (bool find_flag) { - Timer_driver_Find_average_overhead = find_flag; + benchmark_timerfind_average_overhead = find_flag; } |