diff options
author | px4dev <px4@purgatory.org> | 2012-11-12 01:35:51 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-11-12 01:35:51 -0800 |
commit | dca3bce1ca89595f5df3788da34afe3b30bfb35a (patch) | |
tree | 8e9fe8a7b09c1cd33d5250a0f74b8adb6d33e015 /apps/systemlib/perf_counter.h | |
parent | 7d8d7a76b986e7acefb4a61f3da3625db1f6dd11 (diff) | |
download | px4-firmware-dca3bce1ca89595f5df3788da34afe3b30bfb35a.tar.gz px4-firmware-dca3bce1ca89595f5df3788da34afe3b30bfb35a.tar.bz2 px4-firmware-dca3bce1ca89595f5df3788da34afe3b30bfb35a.zip |
Add a new performance counter for measuring periodic/interval events.
Diffstat (limited to 'apps/systemlib/perf_counter.h')
-rw-r--r-- | apps/systemlib/perf_counter.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |