File: SubCallInfo.pm

package info (click to toggle)
libdevel-nytprof-perl 5.06%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,396 kB
  • ctags: 1,413
  • sloc: perl: 4,905; ansic: 101; sh: 54; makefile: 17
file content (26 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package Devel::NYTProf::SubCallInfo;

use strict;
use warnings;
use Carp;

use Devel::NYTProf::Constants qw(
    NYTP_SCi_CALL_COUNT
    NYTP_SCi_INCL_RTIME NYTP_SCi_EXCL_RTIME NYTP_SCi_RECI_RTIME
    NYTP_SCi_REC_DEPTH NYTP_SCi_CALLING_SUB
    NYTP_SCi_elements
);

sub calls      { shift->[NYTP_SCi_CALL_COUNT] }

sub incl_time  { shift->[NYTP_SCi_INCL_RTIME] }

sub excl_time  { shift->[NYTP_SCi_EXCL_RTIME] }

sub recur_max_depth { shift->[NYTP_SCi_REC_DEPTH] }

sub recur_incl_time { shift->[NYTP_SCi_RECI_RTIME] }


# vim:ts=8:sw=4:et
1;