[erlang-questions] signal arrival time
Mazen Harake
mazen.harake@REDACTED
Wed May 2 13:56:50 CEST 2012
Yes you can.
You can trace the process you want to observe (use the flags 'r' for
receive and 'timestamp' for attaching the time to it) and then receive
the trace messages using your own trace event handler. I would also
recommend that you use matchspecifications in case you are only
interested if 1 specific message has arrived, it is much more
efficient.
I wrote a pretty straightforward tutorial on how to do these sort of
things in one of the EUC a couple of years ago. You can find it here:
http://www.erlang-factory.com/upload/presentations/316/dbg[1].pdf
BR,
/M
On 2 May 2012 05:24, József Bérces <jozsef.berces@REDACTED> wrote:
> Is there a way to tell the time when a signal arrived to the process
> mailbox?
>
> Thanks,
> Jozsef
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
More information about the erlang-questions
mailing list