Sha256: 7f74adf60e95d7168b215554b76c3a6619585a0b8cfa539ea47ea0101311f321
Contents?: true
Size: 501 Bytes
Versions: 73
Compression:
Stored size: 501 Bytes
Contents
/* time.d */ #pragma D option quiet macruby$target:::method-entry { self->starttime = walltimestamp / 1000; } macruby$target:::method-return { @invoked_time[copyinstr(arg0), copyinstr(arg1)] = sum((walltimestamp / 1000) - self->starttime); } END { printf("\n"); printf("%-10s %-15s %s\n", "CLASS", "METHOD", "TOTAL TIME µsec"); printf("--------------------------------------------------------------------------------\n"); printa("%-10s %-15s %@d\n", @invoked_time); }
Version data entries
73 entries across 73 versions & 3 rubygems