Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-08-13 07:09:58 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-08-13 07:09:58 +0400
commitd23b383af0e2d1ff7416e6b889a9ef36851eed63 (patch)
tree70787c6f65f3ae5aab93f2cdbdb7110c5516b967 /source/gameengine/Ketsji/KX_KetsjiEngine.h
parent5a9c012d86e900208db09b74aebd0bdd60ec711c (diff)
BGE: Adding a GPU Latency profile category to represent the CPU time spent waiting on the graphics card.
Diffstat (limited to 'source/gameengine/Ketsji/KX_KetsjiEngine.h')
-rw-r--r--source/gameengine/Ketsji/KX_KetsjiEngine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.h b/source/gameengine/Ketsji/KX_KetsjiEngine.h
index 4dd8ea10e62..d5d7262a418 100644
--- a/source/gameengine/Ketsji/KX_KetsjiEngine.h
+++ b/source/gameengine/Ketsji/KX_KetsjiEngine.h
@@ -158,9 +158,10 @@ private:
tc_network,
tc_scenegraph,
tc_rasterizer,
- tc_services, // time spend in miscelaneous activities
+ tc_services, // time spent in miscelaneous activities
tc_overhead, // profile info drawing overhead
- tc_outside, // time spend outside main loop
+ tc_outside, // time spent outside main loop
+ tc_latency, // time spent waiting on the gpu
tc_numCategories
} KX_TimeCategory;