summaryrefslogtreecommitdiffstats
path: root/src/core/perf_stats.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Address review commentsFearlessTobi2019-09-101-0/+1
|
* Add frametime logging for tracking performance over timefearlessTobi2019-09-101-1/+19
| | | | Co-Authored-By: jroweboy <jroweboy@gmail.com>
* core/core: Replace includes with forward declarations where applicableLioncash2018-08-311-12/+12
| | | | | | | | | | | The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
* core_timing: Make GetGlobalTimeUs() return std::chrono::microsecondsLioncash2018-08-061-4/+4
| | | | | Enforces the time unit being returned and also allows using the standard time utilities to manipulate it.
* PerfStats: Re-order and document members betterYuri Kunde Schlesner2017-02-271-4/+13
|
* Core: Re-write frame limiterYuri Kunde Schlesner2017-02-271-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.
* Core: Make PerfStats internally lockedYuri Kunde Schlesner2017-02-271-0/+7
| | | | More ergonomic to use and will be required for upcoming changes.
* PerfStats: Add method to get the instantaneous time ratioYuri Kunde Schlesner2017-02-271-1/+9
|
* Add performance statistics to status barYuri Kunde Schlesner2017-02-271-0/+43