parameters: ()
docstring: Profiling related debug views.
docstring_summary: Profiling related debug views.
docstring_tokens: Profiling related debug views .
function: def profiling():
  	'''Profiling related debug views.'''
  	rStats = cvar('r_stats', 0, 'profiling', 'R_STATS - Review CPU \ GPU \ Frame \ Asset Timings.')
  	rStats.add_value(1, 'Frame Timings.')
  	rStats.add_value(3, 'Object Timings.')
  	rStats.add_value(6, 'Per Instance Draw Calls.')
  	rStats.add_value(16, 'GPU Sync Timings.')
  	
  	# Disable GI when profiling as it causes unnecessary jittering in the threads output
  	set_auxiliary_cvar('e_gi', int(general.get_cvar('e_gi')), 0)
  	
  	rStats.next_value()
function_tokens: def profiling ( ) : rStats = cvar ( 'r_stats' , 0 , 'profiling' , 'R_STATS - Review CPU \ GPU \ Frame \ Asset Timings.' ) rStats . add_value ( 1 , 'Frame Timings.' ) rStats . add_value ( 3 , 'Object Timings.' ) rStats . add_value ( 6 , 'Per Instance Draw Calls.' ) rStats . add_value ( 16 , 'GPU Sync Timings.' ) # Disable GI when profiling as it causes unnecessary jittering in the threads output set_auxiliary_cvar ( 'e_gi' , int ( general . get_cvar ( 'e_gi' ) ) , 0 ) rStats . next_value ( )