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=fd78b70414d41ed431ca0e21a7c1aaec10658a8b;p=rrdtool.git use integer time git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@919 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/examples/perftest.pl.in b/examples/perftest.pl.in index f7907c2..7a04220 100755 --- a/examples/perftest.pl.in +++ b/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