Changeset 0f7b6467 in rtems


Ignore:
Timestamp:
Aug 31, 2008, 6:18:49 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
b873083
Parents:
5dff6e6e
Message:

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

  • timerstub.c: Eliminate empty function from every benchmark timer driver. Fix spelling.
Location:
c/src/lib/libbsp/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/ChangeLog

    r5dff6e6e r0f7b6467  
     12008-08-31      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * timerstub.c: Eliminate empty function from every benchmark timer
     4        driver. Fix spelling.
     5
    162008-08-30      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/shared/timerstub.c

    r5dff6e6e r0f7b6467  
    1212#include <bsp.h>
    1313
    14 rtems_boolean Timer_driver_Find_average_overhead;
     14rtems_boolean benchmark_timer_find_average_overhead;
    1515
    16 void Timer_initialize(void)
     16void benchmark_timer_initialize(void)
    1717{
    1818}
    1919
    20 int Read_timer(void)
     20int benchmark_timer_read(void)
    2121{
    22   if (Timer_driver_Find_average_overhead)
     22  if (benchmark_timer_find_average_overhead)
    2323    return 1;
    2424  return 0;
    2525}
    2626
    27 rtems_status_code Empty_function( void )
    28 {
    29   return RTEMS_SUCCESSFUL;
    30 }
    31 
    32 void Set_find_average_overhead(
     27void benchmark_timer_disable_subtracting_average_overhead(
    3328  rtems_boolean find_flag
    3429)
    3530{
    36   Timer_driver_Find_average_overhead = find_flag;
     31  benchmark_timer_find_average_overhead = find_flag;
    3732}
Note: See TracChangeset for help on using the changeset viewer.