Add a new performance counter for measuring periodic/interval events.

This commit is contained in:
px4dev
2012-11-12 01:35:51 -08:00
parent 7d8d7a76b9
commit dca3bce1ca
2 changed files with 67 additions and 6 deletions
+2 -1
View File
@@ -44,7 +44,8 @@
*/
enum perf_counter_type {
PC_COUNT, /**< count the number of times an event occurs */
PC_ELAPSED /**< measure the time elapsed performing an event */
PC_ELAPSED, /**< measure the time elapsed performing an event */
PC_INTERVAL /**< measure the interval between instances of an event */
};
struct perf_ctr_header;