Introduce Tracy profiling infrastructure and macros (internal)

Add public mjprofile.h header with MJ_PROFILE_* macros that get compiled out if Tracy is not enabled.
Integrate Tracy into engine macro timers and build configurations.

PiperOrigin-RevId: 962329763
Change-Id: Iac9d8f9ff0d909beea212a7aa8a6a3dcb512010f
This commit is contained in:
Sam Haves
2026-08-10 13:19:14 -07:00
committed by Copybara-Service
parent b924ac66bd
commit dbc10c743b
+1
View File
@@ -58,6 +58,7 @@ public const int mjNSOLVER = 200;
public const int mjNISLAND = 20;
public const bool THIRD_PARTY_MUJOCO_INCLUDE_MJPLUGIN_H_ = true;
public const bool mjEXTERNC = true;
public const bool THIRD_PARTY_MUJOCO_INCLUDE_MJPROFILE_H_ = true;
public const bool THIRD_PARTY_MUJOCO_MJRENDER_H_ = true;
public const int mjNAUX = 10;
public const int mjMAXTEXTURE = 1000;