summaryrefslogtreecommitdiffhomepage
path: root/UI.h
diff options
context:
space:
mode:
Diffstat (limited to 'UI.h')
-rw-r--r--UI.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/UI.h b/UI.h
index 02b0822..fa89c52 100644
--- a/UI.h
+++ b/UI.h
@@ -18,7 +18,7 @@ struct IntervalCounter
public:
IntervalCounter();
int get_count_per_second();
- void count();
+ void count(uint64_t n = 1);
private:
uint64_t m_count{};
@@ -46,7 +46,7 @@ public:
// slots
void count_main_loops();
- void count_midi_events();
+ void count_midi_events(size_t size);
void count_midi_notes();
void slot_active_sensing();
void slot_midi_note(int channel, int note, uint64_t timestamp);
@@ -58,6 +58,7 @@ private:
IntervalCounter m_main_loops;
IntervalCounter m_midi_events;
+ IntervalCounter m_midi_bytes;
IntervalCounter m_midi_notes;
std::chrono::time_point<clock_type> m_active_sensing_timestamp;