summaryrefslogtreecommitdiffstats
path: root/src/api/studio3d
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2019-12-13 11:47:55 +0200
committerKaj Grönholm <kaj.gronholm@qt.io>2019-12-13 13:21:26 +0200
commit6c8b63376c9eab514bca69d92c3b4348dac9711c (patch)
tree4a898d0e3c1b93967f93d298dc1d3078f800f888 /src/api/studio3d
parente363af8a8b660f0268c4b649963d8bd60c393d84 (diff)
Minor perf logging tweak
Show more clearly total runtime & application startup times. When QT3DS_ENABLE_PERF_LOGGING isn't defined, only these total times are shown. Task-number: QT3DS-4028 Change-Id: I1d9fe8bab5ed32584b2ad1c09b14cb01d25dc82f Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/api/studio3d')
-rw-r--r--src/api/studio3d/doc/src/building-opengl-runtime.qdoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/api/studio3d/doc/src/building-opengl-runtime.qdoc b/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
index 60462bc..f33715c 100644
--- a/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
+++ b/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
@@ -52,8 +52,10 @@ qt3ds.perf_info: 6. (1) Application: EndLoad - 0.000500ms = 193.574900ms
qt3ds.perf_info: 7. (1) Application: GetMetaData - 59.171400ms = 252.875800ms
qt3ds.perf_info: 8. (3) BatchLoader: Image Decompression - 15.395400ms = 294.876900ms
...
-qt3ds.perf_info: 37. (1) RuntimeView: Stopping startup timer - 0.000500ms = 477.483800ms
-qt3ds.perf_info: RuntimeView: First frame at - 1601ms
+qt3ds.perf_info: 36. (1) Application: NotifyDataOutputs - 0.080800ms = 477.483800ms
+qt3ds.perf_info: *** First frame rendered ***
+qt3ds.perf_info: Runtime startup time: 477ms
+qt3ds.perf_info: Application startup time: 1601ms
qt3ds.perf_info: Render Statistics: 33.62fps, frame count 34
qt3ds.perf_info: Render Statistics: 59.92fps, frame count 60
qt3ds.perf_info: Render Statistics: 59.92fps, frame count 60
@@ -69,7 +71,7 @@ Log format is: \c {(n) [task name] - [time] = [cumulative time]} where:
\endlist
\note When analyzing the results, please note that tasks overlap with each other, some tasks include other tasks etc.
-Also, cumulative time only contains time spent inside runtime methods where \c {"First frame at"} contains the whole startup time.
+\c {Runtime startup time} contains the time spent inside runtime methods where \c {Application startup time} contains the whole startup time.
\note \c QT3DS_ENABLE_PERF_LOGGING should not be enabled in release builds as logging increases performance overhead.