Changeset 714336d in rtems


Ignore:
Timestamp:
Oct 13, 2014, 3:30:30 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
a869b37a
Parents:
d7760ac
Message:

libcpu/powerpc/mpc6xx/timer/timer.c: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c

    rd7760ac r714336d  
    33 *  @brief
    44 *
    5  *  This file implements a benchmark timer using the PPC Timebase
     5 *  This file implements a benchmark timer using the PPC Timebase Register.
    66 */
    77
    88/*
    9  *  COPYRIGHT (c) 1989-2000.
     9 *  COPYRIGHT (c) 1989-2014.
    1010 *  On-Line Applications Research Corporation (OAR).
    1111 *
     
    3131 * Timer Get overhead
    3232 */
    33 
    34 int Timer_get_clicks_overhead(void)
     33static int Timer_get_clicks_overhead(void)
    3534{
    3635  uint64_t    clicks;
     
    8180}
    8281
    83 unsigned long long Read_long_timer(void)
    84 {
    85   uint64_t    total64;
    86 
    87   total64 = PPC_Get_timebase_register();
    88   return BSP_Convert_decrementer(total64 - clicks_overhead);
    89 }
    90 
    9182void benchmark_timer_disable_subtracting_average_overhead(bool find_flag)
    9283{
Note: See TracChangeset for help on using the changeset viewer.