RTEMS 6.1-rc6
|
RTEMS Performance Monitoring and Measurement Framework. More...
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include <rtems.h>
#include <rtems/monitor.h>
#include <rtems/captureimpl.h>
Data Structures | |
struct | ctrace_per_cpu |
struct | ctrace_task_name |
struct | ctrace_tasks |
Macros | |
#define | CTRACE_TASK_BLOCK_SIZE (64) |
Functions | |
void | rtems_capture_print_timestamp (uint64_t uptime) |
Capture print timestamp. | |
void | rtems_capture_print_record_task (int cpu, const rtems_capture_record *rec, const rtems_capture_task_record *task_rec) |
Capture print record task. | |
void | rtems_capture_print_record_capture (int cpu, const rtems_capture_record *rec, uint64_t diff, const rtems_name *name) |
Capture print capture record. | |
void | rtems_capture_print_trace_records (int total, bool csv) |
Capture print trace records. | |
void | rtems_capture_print_watch_list (void) |
Capture print watch list. | |
RTEMS Performance Monitoring and Measurement Framework.
This is a set of print support routines that may be shared between the RTEMS monitor and direct callers of the capture engine.
void rtems_capture_print_record_capture | ( | int | cpu, |
const rtems_capture_record * | rec, | ||
uint64_t | diff, | ||
const rtems_name * | name | ||
) |
Capture print capture record.
This function prints a user extension capture record.
[in] | cpu | specifies the cpu the cpu the record was logged on. |
[in] | rec | specifies the record. |
[in] | diff | specifies the time between this and the last capture record. |
[in] | name | specifies the name of the task, NULL if none. |
[in] | task_count | number of tasks to search for. |
void rtems_capture_print_record_task | ( | int | cpu, |
const rtems_capture_record * | rec, | ||
const rtems_capture_task_record * | task_rec | ||
) |
Capture print record task.
This function prints a capture record task. This record contains information to identify a task. It is refrenced in other records by the task id.
[in] | cpu | specifies the cpu the cpu the record was logged on. |
[in] | rec | specifies the task record. |
void rtems_capture_print_timestamp | ( | uint64_t | uptime | ) |
Capture print timestamp.
This function prints uptime in a timestamp format.
[in] | uptime | specifies the timestamp to print |
void rtems_capture_print_trace_records | ( | int | total, |
bool | csv | ||
) |
Capture print trace records.
This function reads, prints and releases up to total trace records in either a csv format or an ascii table format.
[in] | total | specifies the number of records to print |
[in] | csv | specifies a comma seperated value format |
void rtems_capture_print_watch_list | ( | void | ) |
Capture print watch list.
This function prints a capture watch list