stats: Refactor stats recording and printing.
commit45c5f0b086e71aaf813159537525c0dc89da403a
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 30 Nov 2019 07:11:52 +0000 (30 07:11 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 30 Nov 2019 07:11:52 +0000 (30 07:11 +0000)
tree800965a4ee0fc91f4ccd8032b3ef66afa923e923
parente2f40792c47a1127c9ca2281a7eb1a15f5b79d84
stats: Refactor stats recording and printing.

Use a single struct to record and print stats, reducing the amount of
duplicate code.
filters/stats/stats.c