This commit is contained in:
Dante
2026-05-22 11:54:15 -07:00
parent 05f197c291
commit b47ea35fe4
935 changed files with 1016163 additions and 1 deletions

View File

@ -0,0 +1,19 @@
class TestBasic extends haxe.unit.TestCase
{
public function new() super();
function testStartTelemetry(string:String)
{
var thread_id:Int = startTelemetry(true, true);
assertTrue(thread_id>=0);
}
function startTelemetry(with_profiler:Bool=true,
with_allocations:Bool=true):Int
{
// Compile will fail without -D HXCPP_TELEMETRY
return untyped __global__.__hxcpp_hxt_start_telemetry(with_profiler,
with_allocations);
}
}