RTEMS  5.1
captureimpl.h
Go to the documentation of this file.
1 
10 /*
11  ------------------------------------------------------------------------
12 
13  Copyright 2002, 2016 Chris Johns <chrisj@rtems.org>.
14  All rights reserved.
15 
16  COPYRIGHT (c) 1989-2014.
17  On-Line Applications Research Corporation (OAR).
18 
19  The license and distribution terms for this file may be
20  found in the file LICENSE in this distribution.
21 
22  This software with is provided ``as is'' and with NO WARRANTY.
23 
24  ------------------------------------------------------------------------
25 
26  RTEMS Performance Monitoring and Measurement Framework.
27  This is the Capture Engine component.
28 
29 */
30 
31 #ifndef __CAPTUREIMPL_H_
32 #define __CAPTUREIMPL_H_
33 
34 #include "capture.h"
35 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
50 void rtems_capture_set_extension_index(int index);
51 
61 
72 uint32_t rtems_capture_get_flags(void);
73 
81 void rtems_capture_set_flags(uint32_t mask);
82 
93 
103 
118  rtems_tcb* tt,
119  uint32_t events);
120 
131 void rtems_capture_print_trace_records ( int total, bool csv );
132 
140 void rtems_capture_print_timestamp (uint64_t uptime);
141 
153  const rtems_capture_record* rec,
154  const rtems_capture_task_record* task_rec);
155 
169  const rtems_capture_record* rec,
170  uint64_t diff,
171  const rtems_name* name);
172 
179 
180 #ifdef __cplusplus
181 }
182 #endif
183 
185 #endif
uint32_t rtems_capture_get_flags(void)
Capture get flags.
Definition: capture.c:133
rtems_status_code rtems_capture_user_extension_close(void)
Capture user extension close.
Definition: capture_user_extension.c:115
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
Capture Engine Component of the RTEMS Measurement and Monitoring System.
void rtems_capture_print_trace_records(int total, bool csv)
Capture print trace records.
Definition: capture_support.c:263
void rtems_capture_print_record_task(int cpu, const rtems_capture_record *rec, const rtems_capture_task_record *task_rec)
Capture print record task.
Definition: capture_support.c:189
void rtems_capture_set_flags(uint32_t mask)
Capture set flags.
Definition: capture.c:138
rtems_status_code
Classic API Status.
Definition: status.h:43
Definition: thread.h:732
int rtems_capture_get_extension_index(void)
Capture get extension index.
Definition: capture.c:128
void rtems_capture_print_record_capture(int cpu, const rtems_capture_record *rec, uint64_t diff, const rtems_name *name)
Capture print capture record.
Definition: capture_support.c:218
void rtems_capture_print_timestamp(uint64_t uptime)
Capture print timestamp.
Definition: capture_support.c:169
void rtems_capture_print_watch_list(void)
Capture print watch list.
Definition: capture_support.c:403
Definition: capture.h:187
bool rtems_capture_trigger_fired(rtems_tcb *ft, rtems_tcb *tt, uint32_t events)
Capture check trigger.
Definition: capture.c:520
Definition: capture.h:172
rtems_status_code rtems_capture_user_extension_open(void)
Capture user extension open.
Definition: capture_user_extension.c:94
void rtems_capture_set_extension_index(int index)
Capture set extension index.
Definition: capture.c:123