Added reprojection ratio to statistics page.

This commit is contained in:
2017-02-11 23:54:55 +01:00
parent 9b05d7ffd4
commit 22af8b9633
5 changed files with 110 additions and 45 deletions
+13
View File
@@ -253,6 +253,18 @@ MyStackViewPage {
}
}
RowLayout {
MyText {
text: "Reprojection Ratio:"
}
MyText {
id: summaryTotalRatioText
Layout.fillWidth: true
horizontalAlignment: Text.AlignRight
text: "0"
}
}
Item {
Layout.fillHeight: true
Layout.fillWidth: true
@@ -434,6 +446,7 @@ MyStackViewPage {
summaryDroppedFramesText.text = StatisticsTabController.droppedFrames
summaryReprojectedFramesText.text = StatisticsTabController.reprojectedFrames
summaryTimedOutText.text = StatisticsTabController.timedOut
summaryTotalRatioText.text = (StatisticsTabController.totalReprojectedRatio*100.0).toFixed(1) + "%"
}
Timer {