line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Video::Delay::Const; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
223520
|
use strict; |
|
4
|
|
|
|
|
43
|
|
|
4
|
|
|
|
|
110
|
|
4
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
122
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
1797
|
use Class::Utils qw(set_params); |
|
4
|
|
|
|
|
98339
|
|
|
4
|
|
|
|
|
68
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = 0.07; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# Constructor. |
11
|
|
|
|
|
|
|
sub new { |
12
|
4
|
|
|
4
|
1
|
4867
|
my ($class, @params) = @_; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# Create object. |
15
|
4
|
|
|
|
|
12
|
my $self = bless {}, $class; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# Constant. |
18
|
4
|
|
|
|
|
15
|
$self->{'const'} = 1000; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# Process params. |
21
|
4
|
|
|
|
|
18
|
set_params($self, @params); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# Object. |
24
|
2
|
|
|
|
|
30
|
return $self; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# Get delay. |
28
|
|
|
|
|
|
|
sub delay { |
29
|
2
|
|
|
2
|
1
|
751
|
my $self = shift; |
30
|
2
|
|
|
|
|
6
|
return $self->{'const'}; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |