Static methods

@:native("::__hxcpp_tracy_framemark")staticframeMark():Void

Mark a frame. Call this at the end of each frame loop.

@:value({ _color : 0x000000 })@:native("::__hxcpp_tracy_message")staticmessage(_msg:String, _color:Int = 0x000000):Void

Print a message into Tracy's log.

@:native("::__hxcpp_tracy_message_app_info")staticmessageAppInfo(_info:String):Void

Tracy can collect additional information about the profiled application, which will be available in the trace description. This can include data such as the source repository revision, the application’s environment (dev/prod), etc.

@:native("::__hxcpp_tracy_plot")staticplot(_name:String, _val:Float32):Void

Plot a named value to tracy. This will generate a graph in the profiler for you.

@:value({ _color : 0x000000, _fill : false, _step : false })@:native("::__hxcpp_tracy_plot_config")staticplotConfig(_name:String, _format:PlotFormatType, _step:Bool = false, _fill:Bool = false, _color:Int = 0x000000):Void

Configure how values are plotted and displayed.

@:value({ _groupHint : 1 })@:native("::__hxcpp_tracy_set_thread_name_and_group")staticsetThreadName(_name:String, _groupHint:Int = 1):Void

Set a name for the current thread this function is called in. Supply an optional groupHint so threads become grouped in Tracy's UI.

@:native("HXCPP_TRACY_ZONE")staticzoneScoped(_name:String):Void

Create a custom named scoped zone in your code.