Commit 03f93c4f authored by Jesper Louis Andersen's avatar Jesper Louis Andersen

Correct the DTrace script to the one we use.

parent 01526484
erlang*:::nif-entry
{
funcall_entry_ts[cpu, copyinstr(arg1)] = vtimestamp;
funcall_entry_ts[cpu, copyinstr(arg1)] = timestamp;
}
erlang*:::nif-return
{
@time[cpu, copyinstr(arg1)] = lquantize((vtimestamp - funcall_entry_ts[cpu, copyinstr(arg1)] ), 0, 60000, 1000);
@time[cpu, copyinstr(arg1)] = lquantize((timestamp - funcall_entry_ts[cpu, copyinstr(arg1)] ), 0, 60000, 1000);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment