···309309 Trinity.SimSystem.monotonic_time(:microsecond)
310310 end
311311312312+ @spec sim_const(sim_value, real_value) :: sim_value | real_value when sim_value: term, real_value: term
313313+ def sim_const(sim_value, real_value) do
314314+ case Trinity.Sim.simulated?() do
315315+ true -> sim_value
316316+ false -> real_value
317317+ end
318318+ end
319319+312320 @doc """
313321 Times a function and logs how long it takes.
314322