Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/t/lib/dprof/test4_v

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


# perl

use V;

dprofpp( '-T' );
$expected =
qq{main::bar
main::bar
main::baz
   main::bar
   main::bar
   main::bar
   main::foo
      main::bar
main::foo
   main::bar
};
report 13, sub { $expected eq $results };

dprofpp('-TF');
report 14, sub { $expected eq $results };

dprofpp( '-t' );
$expected =
qq{main::bar (2x)
main::baz
   main::bar (3x)
   main::foo
      main::bar
main::foo
   main::bar
};
report 15, sub { $expected eq $results };

dprofpp('-tF');
report 16, sub { $expected eq $results };

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].