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
path: root/doc
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-03-19 08:56:51 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-03-19 08:56:51 +0400
commit460d21af6f31881a3c1f74da75a2196fe7deadfe (patch)
tree9349ec379f4c6073aaaf786e7cf9e8d3e59ff85a /doc
parente6020cd32016f3277ebeffc454487851390a60f3 (diff)
BGE: Adding docs for bge.logic.getProfileInfo().
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bge.logic.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst
index 27029914487..4dd0614700e 100644
--- a/doc/python_api/rst/bge.logic.rst
+++ b/doc/python_api/rst/bge.logic.rst
@@ -398,6 +398,10 @@ Utility functions
.. function:: PrintMemInfo()
Prints engine statistics into the console
+
+.. function:: getProfileInfo()
+
+ Returns a Python dictionary that contains the same information as the on screen profiler. The keys are the profiler categories and the values are tuples with the first element being time taken (in ms) and the second element being the percentage of total time.
*********
Constants