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

Macros to inquire if logging is enabled for a certain test mode
[Logging a certain test results]


Defines

#define __LOG_TEST_ENABLED()   nvutil::LogTest::instance()->isEnabled()
 Query if any test is enabled. More...

#define __LOG_BENCH_TEST_ENABLED()   nvutil::LogBenchTest::instance()->isEnabled()
 Query if benchmark test is enabled. More...

#define __LOG_SHADER_TEST_ENABLED()   nvutil::LogShaderTest::instance()->isEnabled()
 Query if shader test is enabled. More...


Detailed Description

This macros all can be used in conditional statements:
 if ( __LOG_BENCH_TEST_ENABLED() ) 
 {
    // ...
 }

Define Documentation

 
#define __LOG_TEST_ENABLED      nvutil::LogTest::instance()->isEnabled()
 

Query if any test is enabled.

 
#define __LOG_BENCH_TEST_ENABLED      nvutil::LogBenchTest::instance()->isEnabled()
 

Query if benchmark test is enabled.

 
#define __LOG_SHADER_TEST_ENABLED      nvutil::LogShaderTest::instance()->isEnabled()
 

Query if shader test is enabled.


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