4.104.114.84.95
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 | |
---|
14 | rtems_boolean Timer_driver_Find_average_overhead; |
---|
15 | |
---|
16 | void Timer_initialize() |
---|
17 | { |
---|
18 | } |
---|
19 | int Read_timer() |
---|
20 | { |
---|
21 | if (Timer_driver_Find_average_overhead) |
---|
22 | return 1; |
---|
23 | return 0; |
---|
24 | } |
---|
25 | |
---|
26 | rtems_status_code Empty_function( void ) |
---|
27 | { |
---|
28 | return RTEMS_SUCCESSFUL; |
---|
29 | } |
---|
30 | |
---|
31 | void 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.