Ignore:
Timestamp:
Aug 31, 2008, 5:42:00 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
722ab6d
Parents:
35eb543d
Message:

2008-08-31 Joel Sherrill <joel.sherrill@…>

  • timer/timer.c: Eliminate empty function from every benchmark timer driver. Fix spelling.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/unix/posix/timer/timer.c

    r35eb543d re511e126  
    2424struct timezone Time_zone;
    2525
    26 rtems_boolean   benchmark_timerfind_average_overhead;
     26rtems_boolean   benchmark_timer_find_average_overhead;
    2727
    28 void benchmark_timerinitialize()
     28void benchmark_timer_initialize()
    2929{
    3030   gettimeofday( &Timer_start, &Time_zone );
     
    3535#define LEAST_VALID       10 /* Don't trust a value lower than this */
    3636
    37 int benchmark_timerread()
     37int benchmark_timer_read()
    3838{
    3939  int total;
     
    4949  }
    5050
    51   if ( benchmark_timerfind_average_overhead == 1 )
     51  if ( benchmark_timer_find_average_overhead == 1 )
    5252      return total;          /* in countdown units */
    5353  else {
     
    5858}
    5959
    60 rtems_status_code benchmark_timerempty_function( void )
    61 {
    62   return RTEMS_SUCCESSFUL;
    63 }
    64 
    65 void benchmark_timerdisable_subtracting_average_overhead(
     60void benchmark_timer_disable_subtracting_average_overhead(
    6661  rtems_boolean find_flag
    6762)
    6863{
    69   benchmark_timerfind_average_overhead = find_flag;
     64  benchmark_timer_find_average_overhead = find_flag;
    7065}
Note: See TracChangeset for help on using the changeset viewer.