RTEMS  5.1
Data Structures | Macros | Typedefs | Enumerations | Functions
profiling.h File Reference

Profiling API. More...

#include <stdint.h>
#include <rtems/print.h>

Go to the source code of this file.

Data Structures

struct  rtems_profiling_header
 The profiling data header. More...
 
struct  rtems_profiling_per_cpu
 Per-CPU profiling data. More...
 
struct  rtems_profiling_smp_lock
 SMP lock profiling data. More...
 
union  rtems_profiling_data
 Collection of profiling data. More...
 

Macros

#define RTEMS_PROFILING_SMP_LOCK_CONTENTION_COUNTS   4
 Count of lock contention counters for SMP lock profiling.
 

Typedefs

typedef void(* rtems_profiling_visitor) (void *arg, const rtems_profiling_data *data)
 Visitor function for the profiling iteration. More...
 

Enumerations

enum  rtems_profiling_type { RTEMS_PROFILING_PER_CPU, RTEMS_PROFILING_SMP_LOCK }
 Type of profiling data. More...
 

Functions

void rtems_profiling_iterate (rtems_profiling_visitor visitor, void *visitor_arg)
 Iterates through all profiling data of the system. More...
 
int rtems_profiling_report_xml (const char *name, const rtems_printer *printer, uint32_t indentation_level, const char *indentation)
 Reports profiling data as XML. More...
 

Detailed Description

Profiling API.