Skip to content

Instantly share code, notes, and snippets.

@nivertech
Forked from Licenser/erl.d
Created May 31, 2014 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nivertech/aa15b5ee0a78a3e0c58b to your computer and use it in GitHub Desktop.
Save nivertech/aa15b5ee0a78a3e0c58b to your computer and use it in GitHub Desktop.
erlang$1:::*-function-entry
{
self->funcall_entry_ts[copyinstr(arg1)] = vtimestamp;
}
erlang$1:::function-return
/self->funcall_entry_ts[copyinstr(arg1)]/
{
@time[copyinstr(arg1)] = quantize((vtimestamp - self->funcall_entry_ts[copyinstr(arg1)] ) / 1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment