[Compbench-devel] CompBenchmarks++ libcompbenchmarks.cpp, 1.3, 1.4 libcompbenchmarks.h, 1.3, 1.4
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-01-21 20:43:51
|
Update of /cvsroot/compbench/CompBenchmarks++ In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18291 Modified Files: libcompbenchmarks.cpp libcompbenchmarks.h Log Message: CBM namespace. Index: libcompbenchmarks.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** libcompbenchmarks.h 10 Jan 2007 20:32:31 -0000 1.3 --- libcompbenchmarks.h 21 Jan 2007 20:43:42 -0000 1.4 *************** *** 24,49 **** #endif ! /** Enable/disable verbosity ! * \sa UO_verbose */ ! extern void setVerbosity(int v); ! ! /** Defines version of the libcompbenchmarks library */ ! extern char *libcompbenchmarks_version; ! ! /** User option defining if package's test suite has to be run */ ! extern int UO_enableTestSuite; ! /** User option defining 'force' mode */ ! extern int UO_force; ! /** Verbose mode. ! * If set to 0, disable verbose mode (UI messages disabled). */ ! extern int UO_verbose; - /** Enable exits on fatal error. - * Set to 1 in Perl wrapper; defaults to 0. */ - extern int UO_fatal; #endif --- 24,50 ---- #endif ! namespace CBM { ! /** Enable/disable verbosity ! * \sa UO_verbose */ ! extern void setVerbosity(int v); ! /** Defines version of the libcompbenchmarks library */ ! extern char *libcompbenchmarks_version; + /** User option defining if package's test suite has to be run */ + extern int UO_enableTestSuite; ! /** User option defining 'force' mode */ ! extern int UO_force; + /** Verbose mode. + * If set to 0, disable verbose mode (UI messages disabled). */ + extern int UO_verbose; + + /** Enable exits on fatal error. + * Set to 1 in Perl wrapper; defaults to 0. */ + extern int UO_fatal; + } #endif Index: libcompbenchmarks.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** libcompbenchmarks.cpp 10 Jan 2007 20:32:31 -0000 1.3 --- libcompbenchmarks.cpp 21 Jan 2007 20:43:42 -0000 1.4 *************** *** 1,13 **** #include <libcompbenchmarks.h> ! char *libcompbenchmarks_version = VERSION; ! int UO_enableTestSuite = 1; ! int UO_force = 0; ! int UO_verbose = 1; ! int UO_fatal = 1; ! void setVerbosity(int v) { ! UO_verbose=v; } --- 1,13 ---- #include <libcompbenchmarks.h> ! char *CBM::libcompbenchmarks_version = VERSION; ! int CBM::UO_enableTestSuite = 1; ! int CBM::UO_force = 0; ! int CBM::UO_verbose = 1; ! int CBM::UO_fatal = 1; ! void CBM::setVerbosity(int v) { ! CBM::UO_verbose=v; } |