From dca3bce1ca89595f5df3788da34afe3b30bfb35a Mon Sep 17 00:00:00 2001 From: px4dev Date: Mon, 12 Nov 2012 01:35:51 -0800 Subject: Add a new performance counter for measuring periodic/interval events. --- apps/systemlib/perf_counter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/systemlib/perf_counter.h') diff --git a/apps/systemlib/perf_counter.h b/apps/systemlib/perf_counter.h index 5dc441056..6e6c80d5b 100644 --- a/apps/systemlib/perf_counter.h +++ b/apps/systemlib/perf_counter.h @@ -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; -- cgit v1.2.3