Accessing diagnostic timers? #3153
Unanswered
thmiller
asked this question in
Asking for Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am a software engineer trying to dig into some Mujoco performance.
My setup
I'm using the Python API installed via pip:
My question
In https://mujoco.readthedocs.io/en/stable/programming/simulation.html#diagnostics , I saw that Mujoco exposes some timers for parts of the underlying simulation. I'd like to read them, but their durations and "number of calls" fields seem to always be zero. I assume this is because I either installed https://mujoco.readthedocs.io/en/stable/APIreference/APIglobals.html#mjcb-time incorrectly or I'm using the passive viewer incorrectly, but I'm not sure how to fix it.
Minimal model and/or code that explain my question
If you encountered the issue in a complex model, please simplify it as much as possible (while still reproducing the issue).
Model:
minimal XML
Code:
Example output:
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions