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

Version Path
bibtex-ruby-6.1.0 test/macruby.d
bibtex-ruby-6.0.0 test/macruby.d
bibtex-ruby-5.1.6 test/macruby.d
bibtex-ruby-5.1.5 test/macruby.d
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/bibtex-ruby-5.1.4/test/macruby.d
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/bibtex-ruby-5.1.4/test/macruby.d
bibtex-ruby-5.1.4 test/macruby.d
bibtex-ruby-5.1.3 test/macruby.d
bibtex-ruby-5.1.2 test/macruby.d
bibtex-ruby-5.1.1 test/macruby.d
bibtex-ruby-5.1.0 test/macruby.d
bibtex-ruby-5.0.1 test/macruby.d
bibtex-ruby-5.0.0 test/macruby.d
bibtex-ruby-4.4.7 test/macruby.d
bibtex-ruby-4.4.6 test/macruby.d
bibtex-ruby-4.4.5 test/macruby.d
bibtex_to_scrapbox-0.2.0 gems/gems/bibtex-ruby-4.4.4/test/macruby.d
bibtex_to_scrapbox-0.1.0 gems/gems/bibtex-ruby-4.4.4/test/macruby.d
bibtex-ruby-4.4.4 test/macruby.d
bibtex-ruby-4.4.3 test/macruby.d