[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55401] trunk/blender/doc/python_api/rst/ bge.logic.rst: BGE: Adding docs for bge.logic.getProfileInfo().

Mitchell Stokes mogurijin at gmail.com
Tue Mar 19 05:56:52 CET 2013


Revision: 55401
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55401
Author:   moguri
Date:     2013-03-19 04:56:51 +0000 (Tue, 19 Mar 2013)
Log Message:
-----------
BGE: Adding docs for bge.logic.getProfileInfo().

Modified Paths:
--------------
    trunk/blender/doc/python_api/rst/bge.logic.rst

Modified: trunk/blender/doc/python_api/rst/bge.logic.rst
===================================================================
--- trunk/blender/doc/python_api/rst/bge.logic.rst	2013-03-19 04:51:37 UTC (rev 55400)
+++ trunk/blender/doc/python_api/rst/bge.logic.rst	2013-03-19 04:56:51 UTC (rev 55401)
@@ -398,6 +398,10 @@
 .. 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




More information about the Bf-blender-cvs mailing list