From: oetiker Date: Fri, 27 Oct 2006 14:03:22 +0000 (+0000) Subject: use integer time X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4f7fadc49762fcef482de38c0b15dd0cd6316e22;p=rrdtool-all.git use integer time git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@919 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/examples/perftest.pl.in b/program/examples/perftest.pl.in index f7907c25..7a04220d 100755 --- a/program/examples/perftest.pl.in +++ b/program/examples/perftest.pl.in @@ -28,7 +28,7 @@ use RRDs; sub create($){ my $file = shift; - my $start = time; + my $start = int(time); RRDs::create ( $file.".rrd", qw( -s300 DS:in:GAUGE:400:U:U