RTEMS CPU Kit with SuperCore
Data Structures | Macros | Typedefs | Enumerations | Functions
sapi/include/rtems/profiling.h File Reference

Profiling API. More...

#include <stdint.h>
Include dependency graph for sapi/include/rtems/profiling.h:
This graph shows which files directly or indirectly include this file:

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...
 
typedef int(* rtems_profiling_printf) (void *arg, const char *format,...)
 Function for formatted output. 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, rtems_profiling_printf printf_func, void *printf_arg, uint32_t indentation_level, const char *indentation)
 Reports profiling data as XML. More...
 

Detailed Description

Profiling API.