PX4 Firmware
PX4 Autopilot Software http://px4.io
perf_ctr_elapsed Struct Reference

PC_ELAPSED counter. More...

Inheritance diagram for perf_ctr_elapsed:
Collaboration diagram for perf_ctr_elapsed:

Public Attributes

uint64_t event_count {0}
 
uint64_t time_start {0}
 
uint64_t time_total {0}
 
uint32_t time_least {0}
 
uint32_t time_most {0}
 
float mean {0.0f}
 
float M2 {0.0f}
 
- Public Attributes inherited from perf_ctr_header
sq_entry_t link
 list linkage More...
 
enum perf_counter_type type
 counter type More...
 
const char * name
 counter name More...
 

Detailed Description

PC_ELAPSED counter.

Definition at line 81 of file perf_counter.cpp.

Member Data Documentation

◆ event_count

uint64_t perf_ctr_elapsed::event_count {0}

◆ M2

float perf_ctr_elapsed::M2 {0.0f}

◆ mean

float perf_ctr_elapsed::mean {0.0f}

Definition at line 87 of file perf_counter.cpp.

Referenced by perf_end(), and perf_set_elapsed().

◆ time_least

uint32_t perf_ctr_elapsed::time_least {0}

◆ time_most

uint32_t perf_ctr_elapsed::time_most {0}

◆ time_start

uint64_t perf_ctr_elapsed::time_start {0}

Definition at line 83 of file perf_counter.cpp.

Referenced by perf_cancel(), perf_end(), perf_reset(), and perf_set_elapsed().

◆ time_total

uint64_t perf_ctr_elapsed::time_total {0}

The documentation for this struct was generated from the following file: