[Compbench-devel] CompBenchmarks++/libcompbenchmarks/System System.cpp, 1.5, 1.6 System.h, 1.5, 1.6
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2007-02-06 19:36:59
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/System In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20374 Modified Files: System.cpp System.h Log Message: Obsolete code removed. Banner added. Index: System.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/System/System.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** System.cpp 6 Feb 2007 19:31:13 -0000 1.5 --- System.cpp 6 Feb 2007 19:36:45 -0000 1.6 *************** *** 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 <System/System.h> #include <Plan/Plan.h> *************** *** 450,492 **** return(r); } - /* - void System::display(void) - { - std::cout << "host::arch=" << arch() << std::endl - << "host::hostid=" << hostid() << std::endl - << "host::hostname=" << hostname() << std::endl - << "host::os=" << os() << std::endl - << "host::os_version=" << os_version() << std::endl - << "host::processor_name=" << processor_name() << std::endl - << "host::processor_mhz=" << processor_mhz() << std::endl - << "host::processor_cache=" << processor_cache() << std::endl - << "host::processor_number=" << processor_number() << std::endl; - } - */ - - /* - void System::displayPrograms(void) - { - std::cout << "BZIP2:" << CBM_PROG_BZIP2 << std::endl - << "CUT:" << CBM_PROG_CUT << std::endl - << "DD:" << CBM_PROG_DD << std::endl - << "DIALOG:" << CBM_PROG_DIALOG << std::endl - << "GREP:" << CBM_PROG_GREP << std::endl - << "GZIP:" << CBM_PROG_GZIP << std::endl - << "HEAD:" << CBM_PROG_HEAD << std::endl - << "MAKE:" << CBM_PROG_MAKE << std::endl - << "MKDIR:" << CBM_PROG_MKDIR << std::endl - << "PATCH:" << CBM_PROG_PATCH << std::endl - << "RM:" << CBM_PROG_RM << std::endl - << "TAIL:" << CBM_PROG_TAIL << std::endl - << "TAR:" << CBM_PROG_TAR << std::endl - << "UNZIP:" << CBM_PROG_UNZIP << std::endl - << "WGET:" << CBM_PROG_WGET << std::endl - << "ZCAT:" << CBM_PROG_ZCAT << std::endl - << "CAT:" << CBM_PROG_CAT << std::endl - << "PERL:" << CBM_PROG_PERL << std::endl; - - } - */ std::string System::exec0(std::string& command) --- 458,461 ---- Index: System.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/System/System.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** System.h 6 Feb 2007 19:31:13 -0000 1.5 --- System.h 6 Feb 2007 19:36:45 -0000 1.6 *************** *** 175,186 **** virtual class Benchmark *Benchmark(std::string bid); - /** Display informations about all packages - * Used by compbenchmarks-core */ - // virtual void displayAllPackages(void); - - /** Display informations about all benchmarks - * Used by compbenchmarks-core */ - // virtual void displayAllBenchmarks(void); - /** Split a std::string. * Split given string as sub-strings, according to an arbitrary delimiter. --- 175,178 ---- *************** *** 196,211 **** virtual void Chomp(std::string& str); - /** Describe host. - * Displays informations about processors, OS, and so on. - */ - // virtual void display(void); - virtual std::string Program(std::string pid); - /** Describe external programs. - * Displays informations about external programs used in CompBenchmarks or in - * compbenchmark-config program. */ - // virtual void displayPrograms(void); - /** External command execution. * Uses shell to execute command. --- 188,193 ---- |