From dbc10c743bf8fd1927656a112037efb5259f0f39 Mon Sep 17 00:00:00 2001 From: Sam Haves Date: Mon, 10 Aug 2026 13:19:14 -0700 Subject: [PATCH] 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 --- unity/Runtime/Bindings/MjBindings.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/unity/Runtime/Bindings/MjBindings.cs b/unity/Runtime/Bindings/MjBindings.cs index 8a8d4e1b..d64794c1 100644 --- a/unity/Runtime/Bindings/MjBindings.cs +++ b/unity/Runtime/Bindings/MjBindings.cs @@ -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;