sysProfileTime

Category: System

Syntax:

sysProfileTime:Double(name:String)


Parameters

Returns

Double



Summary

Returns the average time a named section takes each frame, in milliseconds.

Takes name (the section's name).

View detailed documentation online



Example
If sysProfileTime("AI") > 5 Then
    aiDetail = aiDetail - 1     ; the AI is taking too long
EndIf

BambooBasic © 2026 Michael Denathorn