Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Macros providing initialization of certain test modes for logging
[Logging a certain test results]


Defines

#define __LOG_TEST_INIT(TM)   nvutil::LogTest::instance()->init(TM!=nvutil::TM_NONE)
 Initialize general test logging. More...

#define __LOG_BENCH_TEST_INIT(TM)   nvutil::LogBenchTest::instance()->init(TM==nvutil::TM_BENCH_TEST)
 Initialize benchmark test logging. More...

#define __LOG_SHADER_TEST_INIT(TM)   nvutil::LogShaderTest::instance()->init(TM==nvutil::TM_SHADER_TEST)
 Ininialize shader test logging. More...


Detailed Description

By default, logging is disabled for all test modes. This macros can be used to initialize logging for a certain test mode:
 __LOG_BENCH_TEST_INIT(testmode)  // enable bench test looging if testmode==TM_BENCH_TEST
 __LOG_SHADER_TEST_INIT(testmode) // enable shader test logging if testmode==TM_SHADER_TEST

Define Documentation

#define __LOG_TEST_INIT TM       nvutil::LogTest::instance()->init(TM!=nvutil::TM_NONE)
 

Initialize general test logging.

Enables general test logging if TM equals any test mode but TM_NONE.

#define __LOG_BENCH_TEST_INIT TM       nvutil::LogBenchTest::instance()->init(TM==nvutil::TM_BENCH_TEST)
 

Initialize benchmark test logging.

Enables benchmark test logging if TM equals TM_BENCH_TEST.

#define __LOG_SHADER_TEST_INIT TM       nvutil::LogShaderTest::instance()->init(TM==nvutil::TM_SHADER_TEST)
 

Ininialize shader test logging.

Enables shader test logging if TM equals TM_SHADER_TEST.


Generated on Tue Mar 1 13:20:21 2005 for NVSGSDK by NVIDIA