Skip to content

Instantly share code, notes, and snippets.

@Licenser
Created May 25, 2014 18:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Licenser/765ff3ee391215e20ff6 to your computer and use it in GitHub Desktop.
Save Licenser/765ff3ee391215e20ff6 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