4.115
Last change
on this file since 46d6e7a9 was
46d6e7a9,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/09/11 at 06:15:53
|
2011-02-09 Ralf Corsépius <ralf.corsepius@…>
- include/rtems/btimer.h: New.
- Makefile.am: Add rtems/btimer.h
- libcsupport/include/timerdrv.h: Reflect having split out functions
to rtems/btimer.h.
|
-
Property mode set to
100644
|
File size:
1023 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/btimer.h |
---|
3 | * |
---|
4 | * RTEMS benchmark timer API for all boards. |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * COPYRIGHT (c) 2011 Ralf Corsépius Ulm/Germany |
---|
9 | * |
---|
10 | * Derived from libcsupport/include/timerdrv.h: |
---|
11 | * |
---|
12 | * COPYRIGHT (c) 1989-1999. |
---|
13 | * On-Line Applications Research Corporation (OAR). |
---|
14 | * |
---|
15 | * The license and distribution terms for this file may be |
---|
16 | * found in the file LICENSE in this distribution or at |
---|
17 | * http://www.rtems.com/license/LICENSE. |
---|
18 | * |
---|
19 | * $Id$ |
---|
20 | */ |
---|
21 | |
---|
22 | /* |
---|
23 | * All the functions declared as extern after this comment |
---|
24 | * MUST be implemented in each BSP. |
---|
25 | */ |
---|
26 | |
---|
27 | #ifndef _RTEMS_BTIMER_H |
---|
28 | #define _RTEMS_BTIMER_H |
---|
29 | |
---|
30 | #include <stdbool.h> |
---|
31 | #include <stdint.h> |
---|
32 | #include <rtems/rtems/status.h> |
---|
33 | |
---|
34 | #ifdef __cplusplus |
---|
35 | extern "C" { |
---|
36 | #endif |
---|
37 | |
---|
38 | /* functions */ |
---|
39 | |
---|
40 | extern void benchmark_timer_initialize( void ); |
---|
41 | |
---|
42 | extern uint32_t benchmark_timer_read( void ); |
---|
43 | |
---|
44 | extern rtems_status_code benchmark_timer_empty_function( void ); |
---|
45 | |
---|
46 | extern void benchmark_timer_disable_subtracting_average_overhead( |
---|
47 | bool find_flag |
---|
48 | ); |
---|
49 | |
---|
50 | #ifdef __cplusplus |
---|
51 | } |
---|
52 | #endif |
---|
53 | |
---|
54 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.