Add perf stat logging through ini setting

For better tracking of performance regressions on incoming changes, this
change adds a way to dump frametime to file by changing an ini config
option. This is intentionally hidden as its only useful to a small
number of individuals, and not really applicable to the general
userbase.
This commit is contained in:
James Rowe 2019-08-12 22:15:00 -06:00
parent 84b40f2da6
commit 62e6c147ae
11 changed files with 78 additions and 11 deletions

View file

@ -216,7 +216,7 @@ public:
/// Gets a const reference to the video dumper backend
const VideoDumper::Backend& VideoDumper() const;
PerfStats perf_stats;
std::unique_ptr<PerfStats> perf_stats = std::make_unique<PerfStats>(0);
FrameLimiter frame_limiter;
void SetStatus(ResultStatus new_status, const char* details = nullptr) {