process runtime, time and simulation in erlang

Mats Cronqvist mats.cronqvist@REDACTED
Tue Apr 18 09:05:50 CEST 2006



Lennart Ohman wrote:
> Hi,
> one way of doing it is using the trace functionality. Use
> erlang:trace/3 to turn the 'running' 'timestamp' and 'cpu_timestamp'
> flag on for all processes. You will the get 'in' and 'out' trace
> messages for every process.
> 
> Look at erlang:trace/3 in the erlang module in kernel application
> for more details.
> 
> Note cpu timestamp currently only works on Solaris as far as I know.

   linux as well.

> Best Regards,
> Lennart
> 



More information about the erlang-questions mailing list