RTEMS: cpukit/include/rtems/btimer.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
33extern "C" {
34#endif
35
61 typedef uint32_t benchmark_timer_t;
62
69extern void benchmark_timer_initialize( void );
70
81extern benchmark_timer_t benchmark_timer_read( void );
82
88 extern rtems_status_code benchmark_timer_empty_function( void );
89
100extern void benchmark_timer_disable_subtracting_average_overhead(
101 bool find_flag
102);
103
106#ifdef __cplusplus
107}
108#endif
109
110#endif
benchmark_timer_empty_function
rtems_status_code benchmark_timer_empty_function(void)
Benchmark Timer Empty Function.
benchmark_timer_initialize
void benchmark_timer_initialize(void)
Initialize the Benchmark Timer.
Definition: btimer.c:31
benchmark_timer_read
benchmark_timer_t benchmark_timer_read(void)
Read the Benchmark Timer.
Definition: btimer.c:60
benchmark_timer_t
uint32_t benchmark_timer_t
This type is used to return a Benchmark Timer value.
Definition: btimer.h:61
benchmark_timer_disable_subtracting_average_overhead
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
rtems_status_code
Classic API Status.
Definition: status.h:43
status.h