diff options
Diffstat (limited to 'UI.h')
-rw-r--r-- | UI.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |