RTEMS  5.1
btimer.h
Go to the documentation of this file.
1 
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.org/license/LICENSE.
18  */
19 
20 /*
21  * All the functions declared as extern after this comment
22  * MUST be implemented in each BSP.
23  */
24 
25 #ifndef _RTEMS_BTIMER_H
26 #define _RTEMS_BTIMER_H
27 
28 #include <stdbool.h>
29 #include <stdint.h>
30 #include <rtems/rtems/status.h>
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
61 typedef uint32_t benchmark_timer_t;
62 
69 extern void benchmark_timer_initialize( void );
70 
82 
89 
101  bool find_flag
102 );
103 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif
uint32_t benchmark_timer_t
This type is used to return a Benchmark Timer value.
Definition: btimer.h:61
rtems_status_code
Classic API Status.
Definition: status.h:43
void benchmark_timer_initialize(void)
Initialize the Benchmark Timer.
Definition: btimer.c:31
void benchmark_timer_disable_subtracting_average_overhead(bool find_flag)
Disable Average Overhead Removal from the Benchmark Timer.
Definition: btimer.c:89
rtems_status_code benchmark_timer_empty_function(void)
Benchmark Timer Empty Function.
benchmark_timer_t benchmark_timer_read(void)
Read the Benchmark Timer.
Definition: btimer.c:60