[erlang-questions] signal arrival time
Wed May 2 17:07:51 CEST 2012
Note that the trace mechanisms should not be used as a regular part of
production code. Trace is intended for trouble shooting and profiling, if
used as part of the regular system it will destroy the possibility to use
trace for trouble shooting alternatively trouble shooting will destroy the
It would be interesting to know what you are going to use the information
about when a message arrived to a mailbox for? Maybe there are other ways
of solving your problem?
Kenneth, Erlang/OTP Ericsson
Den 2 maj 2012 13:56 skrev "Mazen Harake" <mazen.harake@REDACTED>:
> 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
> 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:
> 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
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions