pytc.solver.bug_helper.clock

pytc.solver.bug_helper.clock()[source]

Wall clock after the device queue drains.

JAX dispatch is asynchronous, so without this a kernel’s device time is charged to whichever later timer first waits on a result.

Return type:

float