[erlang-questions] How to support {cpu_time, true} in fprof?
Lukas Larsson
lukas@REDACTED
Wed Nov 5 17:24:49 CET 2014
Hello,
cpu_time measurements have lost their value since the introduction of SMP
as the timestamps gotten from it are very hard/impossible to reason about
when you have multiple threads consuming CPU. At the moment it is disabled
on Linux, and I'm thinking about removing it completely in the SMP
emulator. What usecase do you have for it?
Lukas
On Tue, Nov 4, 2014 at 10:18 AM, Park, Sungjin <jinni.park@REDACTED> wrote:
> Hi,
>
> I get not_supported error when I do fprof:trace([start,{cpu_time,true}]).
> Doc says that it means my platform doesn't have high-resolution cpu clock
> feature but nothing about how to enable it. I couldn't find any help from
> google either.
>
>
> --
> Park, Sungjin
>
> -------------------------------------------------------------------------------------------------------------------
> Peculiar travel suggestions are dancing lessons from god.
> -- The Books of Bokonon
>
> -------------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> 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/20141105/b2dc41d3/attachment.htm>
More information about the erlang-questions
mailing list