[erlang-questions] erlang:trace_pattern internals

Konstantinos Kallas konstantinos.kallas@REDACTED
Wed Jun 7 19:28:16 CEST 2017


Hi all,

I noticed that tracing the execution time of functions using erlang trace bifs is kind of slow (not unexpectedly).

Looking at the docs I found the following in: http://erlang.org/doc/man/erlang.html#trace_pattern-2

“Time spent in the function is accumulated in two other counters, seconds and microseconds”

How does this happen in detail? Could someone explain how does trace_pattern with call_time option works internally?

Thank you in advance.

Best regards,

Konstantinos Kallas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170607/c72a5b3d/attachment.htm>


More information about the erlang-questions mailing list