platforms: move latency_buckets to perf.c

This commit is contained in:
Julian Oes
2018-10-15 14:51:48 +02:00
parent 6466e690fe
commit f0ce300744
2 changed files with 7 additions and 5 deletions

View File

@@ -54,11 +54,6 @@
static struct sq_queue_s callout_queue;
/* latency histogram */
#define LATENCY_BUCKET_COUNT 8
__EXPORT const uint16_t latency_bucket_count = LATENCY_BUCKET_COUNT;
__EXPORT const uint16_t latency_buckets[LATENCY_BUCKET_COUNT] = { 1, 2, 5, 10, 20, 50, 100, 1000 };
__EXPORT uint32_t latency_counters[LATENCY_BUCKET_COUNT + 1];
static void hrt_call_reschedule(void);