projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added spaces back in for clx
[spider.git]
/
perl
/
Timer.pm
diff --git
a/perl/Timer.pm
b/perl/Timer.pm
index 683497d2d328f889f6d1ac6f1aaf9538587b3a4a..98132dec6578345a4b955b02af7eae67e5296377 100644
(file)
--- a/
perl/Timer.pm
+++ b/
perl/Timer.pm
@@
-16,6
+16,12
@@
use DXDebug;
@timerchain = ();
$notimers = 0;
@timerchain = ();
$notimers = 0;
+use vars qw($VERSION $BRANCH);
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
+$main::build += $VERSION;
+$main::branch += $BRANCH;
+
sub new
{
my ($pkg, $time, $proc, $recur) = @_;
sub new
{
my ($pkg, $time, $proc, $recur) = @_;