Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Benchmark
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv16650
Modified Files:
Package.cpp Package.h
Log Message:
Obsolete code removed.
Banner added.
Index: Package.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Benchmark/Package.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Package.cpp 6 Feb 2007 17:51:44 -0000 1.7
--- Package.cpp 6 Feb 2007 17:54:02 -0000 1.8
***************
*** 1,2 ****
--- 1,10 ----
+ /* ----------------------------------------------------------------------------
+ $Id$
+
+ This is free software.
+ For details, see the GNU Public License in the COPYING file, or
+ Look http://www.fsf.org
+ ------------------------------------------------------------------------- */
+
#include <Benchmark/Package.h>
#include <Benchmark/Benchmark.h>
***************
*** 49,79 ****
}
- /*
- void Package::display(void)
- {
- std::cout << "package::Name=" << Name() << std::endl
- << "package::Url=" << downloadURL() << std::endl
- << "package::Size=" << Size() << std::endl
- << "package::Version=" << Version() << std::endl
- << "package::Comments=" << Comments() << std::endl
- << "package::License=" << license() << std::endl
- << "package::Homepage=" << homePage() << std::endl
- << "package::Author=" << author() << std::endl << std::endl;
- }
-
- void Package::displayBenchmarks(void)
- {
- int i;
- int n;
- CBM::Benchmark *B;
-
- n=benchmarkNumber();
- for(i=0; i<n; i++) {
- B=Benchmark(i);
- B->display();
- }
- }
- */
-
System *Package::System(void)
{
--- 57,60 ----
Index: Package.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Benchmark/Package.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Package.h 6 Feb 2007 17:51:44 -0000 1.4
--- Package.h 6 Feb 2007 17:54:02 -0000 1.5
***************
*** 188,197 ****
virtual int resetContext(void);
- /** Display informations about package */
- // virtual void display(void);
-
- /** Display informations about all supported benchmarks */
- // virtual void displayBenchmarks(void);
-
/** Get system abstraction object
\return CBM::System
--- 188,191 ----
|