Add --stats-range

This commit is contained in:
Oliver Jowett 2015-06-19 17:29:14 +01:00
parent e7e9cecc1a
commit 656df98a76
5 changed files with 99 additions and 1 deletions

View file

@ -119,6 +119,10 @@ struct stats {
unsigned int unique_aircraft;
// we saw only a single message
unsigned int single_message_aircraft;
// range histogram
#define RANGE_BUCKET_COUNT 76
uint32_t range_histogram[RANGE_BUCKET_COUNT];
};
void add_stats(const struct stats *st1, const struct stats *st2, struct stats *target);