|
From: <son...@us...> - 2008-04-30 20:22:04
|
Revision: 318
http://cbench.svn.sourceforge.net/cbench/?rev=318&view=rev
Author: sonicsoft70
Date: 2008-04-30 13:21:22 -0700 (Wed, 30 Apr 2008)
Log Message:
-----------
though it is completely undocumented (sorry Ryan),
we assume that the data points returned by the parse
modules are simple strings w/o spaces and such
also, the output parse modules do not need to set the
NODATA stuff since the core output parser figures that
out, again undocumented :)
just formatting fixes really, the real guts works fine
Modified Paths:
--------------
trunk/cbench/perllib/output_parse/lammps.pm
Modified: trunk/cbench/perllib/output_parse/lammps.pm
===================================================================
--- trunk/cbench/perllib/output_parse/lammps.pm 2008-04-30 19:14:25 UTC (rev 317)
+++ trunk/cbench/perllib/output_parse/lammps.pm 2008-04-30 20:21:22 UTC (rev 318)
@@ -122,18 +122,19 @@
#capture total loop time for X steps and Y atoms
if ($l =~ /Loop time of ([\d\.]+).*for (\d+) steps with (\d+) atoms/) {
- $data{"loop time ($2 steps, $3 atoms)"} = $1;
+ #$data{"loop time ($2 steps, $3 atoms)"} = $1;
+ $data{"looptime"} = $1;
}
#capture FFT time
if ($l =~ /FFT time.*= ([\d\.]+)/) {
- $data{'FFT time'} = $1;
+ $data{'FFTtime'} = $1;
}
#capture FFT Gflps
if ($l =~ /FFT Gflps.*= ([\d\.]+) ([\d\.]+)/) {
- $data{'FFT Gflps 3d'} = $1;
- $data{'FFT Gflps 1d'} = $2;
+ $data{'FFTGflops3d'} = $1;
+ $data{'FFTGflops1d'} = $2;
}
}
@@ -142,12 +143,6 @@
}
elsif ($status =~ /UNSUCCESSFUL/) {
$data{'STATUS'} = "FAILED VERIFICATION";
- $data{'memory'} = 'NODATA';
- $data{'loop time'} = 'NODATA';
- $data{'steps'} = 'NODATA';
- $data{'atoms'} = 'NODATA';
- $data{'FFT time'} = 'NODATA';
- $data{'FFT Gflps'} = 'NODATA';
}
else {
$data{'STATUS'} = "ERROR($status)";
@@ -244,9 +239,10 @@
# info
%{$self->{METRIC_UNITS}} = (
'memory' => 'MBytes',
- 'loop time' => 'seconds',
- 'FFT time' => 'seconds',
- 'FFT Gflps' => 'Gflps',
+ 'looptime' => 'seconds',
+ 'FFTtime' => 'seconds',
+ 'FFTGflops3d' => 'Gflops',
+ 'FFTGflops1d' => 'Gflops',
);
return 1;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|