← Index
Performance Profile   « block view • line view • sub view »
For /wise/base/deliv/dev/bin/wdate
  Run on Fri Jun 4 15:13:22 2010
Reported on Fri Jun 4 15:14:32 2010

File/wise/base/deliv/dev/lib/perl/WISE/Release.pm
Statements Executed27
Total Time0.000413 seconds

Subroutines — ordered by exclusive time
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1119.7e-59.7e-5WISE::Release::new
1111.3e-51.3e-5WISE::Release::release
00000WISE::Release::BEGIN
00000WISE::Release::revision
00000WISE::Release::version

LineStmts.Exclusive
Time
Avg.Code
1#! /usr/bin/env perl
2
333.0e-51.0e-5use strict;
# spent 9µs making 1 call to strict::import
434.0e-51.3e-5use warnings;
# spent 27µs making 1 call to warnings::import
5
6#use lib qw(/wise/base/deliv/dev/lib/perl);
7
8package WISE::Release;
9
1030.000268.7e-5use vars qw($VERSION $RELEASE $REVISION);
# spent 58µs making 1 call to vars::import
11
1212.0e-62.0e-6my $version = '$Id: Release.pm 7228 2010-02-08 23:15:10Z tim $ ';
13
1411.0e-61.0e-6$VERSION = 1.00;
1511.0e-61.0e-6$REVISION= '$Id: Release.pm 7228 2010-02-08 23:15:10Z tim $ ';
1611.0e-61.0e-6$RELEASE = 'NONE';
17
18
# spent 97µs within WISE::Release::new which was called # once (97µs+0) by WISE::IPACTbl::new at line 241 of /wise/base/deliv/dev/lib/perl/WISE/IPACTbl.pm
sub new {
1912.0e-62.0e-6 my $class = shift;
20100 my %this;
21
2213.0e-63.0e-6 $this{version} = $VERSION;
23 # The values will only cahnge here if it's current value matches
24 # the default pattern.
2512.0e-62.0e-6 $this{revision} = $REVISION;
2613.1e-53.1e-5 $this{revision} =~ s|\$[I]d:\s*(.*?)\s*\$|$1|;
2711.0e-61.0e-6 $this{revision} ||= 'NONE';
2812.0e-62.0e-6 $this{release} = $RELEASE;
2918.0e-68.0e-6 $this{release} =~ s|\$[N]ame:\s*(.*?)\s*\$|$1|;
30100 $this{release} ||= 'NONE';
31
3211.8e-51.8e-5 return bless \%this,$class;
33}
34
35sub version { shift->{version}; }
36sub revision { shift->{revision}; }
37
# spent 13µs within WISE::Release::release which was called # once (13µs+0) by WISE::IPACTbl::new at line 241 of /wise/base/deliv/dev/lib/perl/WISE/IPACTbl.pm
sub release {
3811.0e-61.0e-6 my $this=shift;
3911.0e-61.0e-6 $RELEASE = $this->{release} = $_[0] || "NONE" if defined $_[0];
4013.0e-63.0e-6 $this->{release};
41}
42
4315.0e-65.0e-61;