mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user