[erlang-questions] Calculate nanoseconds
Felix Gallo
felixgallo@REDACTED
Sat Nov 21 08:23:27 CET 2015
http://www.erlang.org/doc/man/timer.html#tc-1
Is a good place to start.
F.
On Nov 20, 2015 11:18 PM, "Benjamin Adams" <ben@REDACTED> wrote:
> Hello,
>
> How would I go about calculating Nanoseconds for a function call. Want to
> use it for language profiling.
>
> Time.start()
> Fun() ->......
> Receive
> Io:format("nanoseconds: ~p", [Time.stop()]),
> End.
>
> Something like that.
>
> -----
> Ben Adams
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151120/5f2b15a2/attachment.htm>
More information about the erlang-questions
mailing list