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

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
38extern "C" {
39#endif
40
50void rtems_capture_set_extension_index(int index);
51
60int rtems_capture_get_extension_index(void);
61
72uint32_t rtems_capture_get_flags(void);
73
81void rtems_capture_set_flags(uint32_t mask);
82
92 rtems_status_code rtems_capture_user_extension_open(void);
93
102 rtems_status_code rtems_capture_user_extension_close(void);
103
117bool rtems_capture_trigger_fired (rtems_tcb* ft,
118 rtems_tcb* tt,
119 uint32_t events);
120
131void rtems_capture_print_trace_records ( int total, bool csv );
132
140void rtems_capture_print_timestamp (uint64_t uptime);
141
152void rtems_capture_print_record_task(int cpu,
153 const rtems_capture_record* rec,
154 const rtems_capture_task_record* task_rec);
155
168void rtems_capture_print_record_capture(int cpu,
169 const rtems_capture_record* rec,
170 uint64_t diff,
171 const rtems_name* name);
172
178void rtems_capture_print_watch_list (void);
179
180#ifdef __cplusplus
181}
182#endif
185#endif
capture.h
Capture Engine Component of the RTEMS Measurement and Monitoring System.
rtems_capture_user_extension_open
rtems_status_code rtems_capture_user_extension_open(void)
Capture user extension open.
Definition: capture_user_extension.c:94
rtems_capture_print_watch_list
void rtems_capture_print_watch_list(void)
Capture print watch list.
Definition: capture_support.c:403
rtems_capture_set_flags
void rtems_capture_set_flags(uint32_t mask)
Capture set flags.
Definition: capture.c:138
rtems_capture_set_extension_index
void rtems_capture_set_extension_index(int index)
Capture set extension index.
Definition: capture.c:123
rtems_capture_get_flags
uint32_t rtems_capture_get_flags(void)
Capture get flags.
Definition: capture.c:133
rtems_capture_trigger_fired
bool rtems_capture_trigger_fired(rtems_tcb *ft, rtems_tcb *tt, uint32_t events)
Capture check trigger.
Definition: capture.c:520
rtems_capture_user_extension_close
rtems_status_code rtems_capture_user_extension_close(void)
Capture user extension close.
Definition: capture_user_extension.c:115
rtems_capture_print_timestamp
void rtems_capture_print_timestamp(uint64_t uptime)
Capture print timestamp.
Definition: capture_support.c:169
rtems_capture_get_extension_index
int rtems_capture_get_extension_index(void)
Capture get extension index.
Definition: capture.c:128
rtems_capture_print_record_task
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
rtems_capture_print_trace_records
void rtems_capture_print_trace_records(int total, bool csv)
Capture print trace records.
Definition: capture_support.c:263
rtems_capture_print_record_capture
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
rtems_status_code
rtems_status_code
Classic API Status.
Definition: status.h:43
rtems_name
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
_Thread_Control
Definition: thread.h:732
rtems_capture_record
Definition: capture.h:173
rtems_capture_task_record
Definition: capture.h:188