Skip to content

ProfileFPS

Narta Xaymar Dirks edited this page Nov 1, 2026 · 1 revision

ProfileFPS

ProfileFPS:Void enable:Int32
Parameter Mode Type Default Description
enable In Int32 required 1 to print the report, 0 to stop printing it.

Description

Turns the report on or off that prints the frames per second and the timers of the runtime once a second, on the standard error output, like setting the environment variable BLITZLLVM_PROFILE_FPS to 1 or 0 (which only decides how the program starts). The timers must be running, see ProfileEnable. Without --profile this command does nothing.

Differences

  • This is a BlitzLLVM extension: the original has no such command.

Examples

Graphics 64, 64, 0, 2
ProfileFPS 1
Local start = MilliSecs()
While MilliSecs() - start < 2500
	Cls
	Flip
Wend
ProfileFPS 0

Related Commands

ProfileBegin, ProfileEnable, ProfileEnd, ProfileFlipCount, ProfileItemCount, ProfileItemName, ProfileOutput, ProfileSample

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally