view stats: Make CPU and GPU timestamps available (#1921)

* view stats: Make GPU begin and end times available

* view stats: Make CPU start and end times available

* view stats: Remove redundant `gpuTimeElapsed`

Value can be derived by `gpuTimeEnd - gpuTimeBegin`

* view stats: Remove redundant `cpuTimeElapsed`

Value can be derived by `cpuTimeEnd - cpuTimeBegin`
This commit is contained in:
Sandy
2019-10-31 15:30:35 +01:00
committed by Бранимир Караџић
parent 2edbd06ef6
commit c7950c6db3
7 changed files with 30 additions and 17 deletions

View File

@@ -860,8 +860,10 @@ struct.Transform
struct.ViewStats
.name "char[256]" --- View name.
.view "ViewId" --- View id.
.cpuTimeElapsed "int64_t" --- CPU (submit) time elapsed.
.gpuTimeElapsed "int64_t" --- GPU time elapsed.
.cpuTimeBegin "int64_t" --- CPU (submit) begin time.
.cpuTimeEnd "int64_t" --- CPU (submit) end time.
.gpuTimeBegin "int64_t" --- GPU begin time.
.gpuTimeEnd "int64_t" --- GPU end time.
--- Encoder stats.
struct.EncoderStats