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

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

Collaboration diagram for Macros to inquire if logging is enabled for a certain test mode:


Defines

#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.

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:36 2005 for NVSGSDK by NVIDIA