We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code using @timed reports 1 microsecond time. The timed/1 macro seems to work correctly.
@timed
timed/1
defmodule Repro do use Elixometer def hello do :dbg.tracer() :dbg.p(:all, :c) :dbg.tpl(Elixometer.Updater, :timer, :x) Repro.time_me() end @timed(key: "timedkey") def time_me do :timer.sleep(1500) end end
iex(1)> Repro.hello (<0.245.0>) call 'Elixir.Elixometer.Updater':timer(<<"timedkey">>,microsecond,1) (<0.245.0>) returned from 'Elixir.Elixometer.Updater':timer/3 -> ok :ok
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following code using
@timed
reports 1 microsecond time. Thetimed/1
macro seems to work correctly.The text was updated successfully, but these errors were encountered: