Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Benchmark
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv21801
Modified Files:
Benchmark.h
Log Message:
Bench() returns a CBM::Result instance.
Index: Benchmark.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Benchmark/Benchmark.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Benchmark.h 6 Jun 2007 21:36:28 -0000 1.7
--- Benchmark.h 2 Aug 2007 17:06:28 -0000 1.8
***************
*** 12,15 ****
--- 12,16 ----
#include <Compiler/Compiler.h>
#include <Compiler/Compiler-Options.h>
+ #include <Base/Result.h>
#include <vector>
***************
*** 67,76 ****
* Uses bench(). Overloading is unadvised.
* This step won't be done and'll return 1 if getStatus()>=Package::Benchmarked.
! * \return benchmark's result (performance) as a non-null positive number. May changes status.
* \sa Make()
* \sa executionTime()
* \sa status */
! virtual std::string Bench(Compiler *C,
! CompilerOptions *O);
/** Give execution time.
--- 68,77 ----
* Uses bench(). Overloading is unadvised.
* This step won't be done and'll return 1 if getStatus()>=Package::Benchmarked.
! * \return benchmark's result (performance) as a non-null positive number in a CBM::Result instance. May changes status.
* \sa Make()
* \sa executionTime()
* \sa status */
! virtual Result *Bench(Compiler *C,
! CompilerOptions *O);
/** Give execution time.
|