Category: System
Syntax:
sysProfileStart:Void(name:String)
Void
Starts timing a named section of your program.
Takes name (the section's name, shown in the profiler).
Marks the start of a section of code to time. Call sysProfileEnd with the same name at its end. The time is added up over each frame (so a section can be timed several times a frame), averaged over the last second, and shown in the profiler panel (b2dShowProfiler) and by sysProfileTime.
The calls cost almost nothing, so they can be left in a finished program.
View detailed documentation online
sysProfileStart("Physics")
UpdatePhysics()
sysProfileEnd("Physics")
BambooBasic © 2026 Michael Denathorn