git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d67eeaf
)
selftest: Report times in milliseconds rather than seconds.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 13 Sep 2010 21:07:41 +0000
(23:07 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 14 Sep 2010 08:54:27 +0000
(10:54 +0200)
selftest/Subunit.pm
patch
|
blob
|
history
diff --git
a/selftest/Subunit.pm
b/selftest/Subunit.pm
index 7a352bd71b0084c945e802747651a19963437d82..a3a2113e4eb803e937a7cc5fbc393e7e44774ad0 100644
(file)
--- a/
selftest/Subunit.pm
+++ b/
selftest/Subunit.pm
@@
-23,6
+23,13
@@
require Exporter;
use strict;
+eval {
+require Time::HiRes;
+};
+unless ($@) {
+ use Time::HiRes qw(time);
+}
+
sub parse_results($$$)
{
my ($msg_ops, $statistics, $fh) = @_;