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. |
if ( __LOG_BENCH_TEST_ENABLED() ) { // ... }
|
Query if any test is enabled.
|
|
Query if benchmark test is enabled.
|
|
Query if shader test is enabled.
|