BGE: Adding docs for bge.logic.getProfileInfo().

This commit is contained in:
Mitchell Stokes 2013-03-19 04:56:51 +00:00
parent e6020cd320
commit 460d21af6f

View File

@ -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