Skip to content

Commit

Permalink
Move FPS tracker to section where its lock belongs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysticial committed Dec 16, 2024
1 parent 94b98f1 commit c342758
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class CameraSession : public QObject, public PokemonAutomation::CameraSession, p

std::vector<Resolution> m_resolutions;

EventRateTracker m_fps_tracker_source;
EventRateTracker m_fps_tracker_display;

private:
Expand All @@ -157,6 +156,8 @@ class CameraSession : public QObject, public PokemonAutomation::CameraSession, p
WallClock m_last_frame_timestamp;
std::atomic<uint64_t> m_last_frame_seqnum;

EventRateTracker m_fps_tracker_source;


private:
// Listeners: All accesses must be under this lock.
Expand Down

0 comments on commit c342758

Please sign in to comment.