Keep track of longest shortfall.

This adds six cycles to the TX and RX shortfall paths.
This commit is contained in:
Martin Ling
2021-12-24 09:35:41 +00:00
parent a7bd1e3ede
commit 2c86f493d9
5 changed files with 22 additions and 6 deletions

View File

@@ -389,6 +389,7 @@ static void print_state(hackrf_m0_state *state) {
printf("M0 count: %u bytes\n", state->m0_count);
printf("M4 count: %u bytes\n", state->m4_count);
printf("Number of shortfalls: %u\n", state->num_shortfalls);
printf("Longest shortfall: %u bytes\n", state->longest_shortfall);
}
static void usage() {