summaryrefslogtreecommitdiffstats
path: root/src/core/perf_stats.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-02-27PerfStats: Re-order and document members betterYuri Kunde Schlesner1-4/+13
2017-02-27Core: Re-write frame limiterYuri Kunde Schlesner1-0/+16
Now based on std::chrono, and also works in terms of emulated time instead of frames, so we can in the future frame-limit even when the display is disabled, etc. The frame limiter can also be enabled along with v-sync now, which should be useful for those with displays running at more than 60 Hz.
2017-02-27Core: Make PerfStats internally lockedYuri Kunde Schlesner1-0/+7
More ergonomic to use and will be required for upcoming changes.
2017-02-27PerfStats: Add method to get the instantaneous time ratioYuri Kunde Schlesner1-1/+9
2017-02-27Add performance statistics to status barYuri Kunde Schlesner1-0/+43