source: rtems/c/src/lib/libbsp/shared/timerstub.c @ 518edef

4.104.114.84.95
Last change on this file since 518edef was 6128a4a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/21/04 at 10:43:04

Remove stray white spaces.

  • Property mode set to 100644
File size: 594 bytes
Line 
1/*
2 *  This file implements a stub benchmark timer that is sufficient to
3 *  satisfy linking the RTEMS Benchmarks.
4 *
5 *  COPYRIGHT (c) 1989-2001.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *
9 *  $Id$
10 */
11
12#include <bsp.h>
13
14rtems_boolean Timer_driver_Find_average_overhead;
15
16void Timer_initialize()
17{
18}
19int Read_timer()
20{
21  if (Timer_driver_Find_average_overhead)
22    return 1;
23  return 0;
24}
25
26rtems_status_code Empty_function( void )
27{
28  return RTEMS_SUCCESSFUL;
29}
30
31void Set_find_average_overhead(
32  rtems_boolean find_flag
33)
34{
35  Timer_driver_Find_average_overhead = find_flag;
36}
Note: See TracBrowser for help on using the repository browser.