aboutsummaryrefslogtreecommitdiffstats
path: root/src/resultrecorder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resultrecorder.cpp')
-rw-r--r--src/resultrecorder.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resultrecorder.cpp b/src/resultrecorder.cpp
index 1d8a883..12db2d4 100644
--- a/src/resultrecorder.cpp
+++ b/src/resultrecorder.cpp
@@ -167,6 +167,11 @@ void ResultRecorder::recordWindowSize(const QSize &windowSize)
m_results["windowSize"] = QString::number(windowSize.width()) + "x" + QString::number(windowSize.height());
}
+void ResultRecorder::recordScreenRefreshRate(const qreal refreshRate)
+{
+ m_results["refreshRate"] = refreshRate;
+}
+
void ResultRecorder::recordOperationsPerFrame(int ops)
{
Q_ASSERT(Options::instance.isSubProcess);