diff options
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3515,10 +3515,9 @@ namespace slang */ virtual SLANG_NO_THROW SlangPassThrough SLANG_MCALL getDownstreamCompilerForTransition(SlangCompileTarget source, SlangCompileTarget target) = 0; - /** Get the time in seconds spent in the downstream compiler. - @return The time spent in the downstream compiler in the current global session. + /** Get the time in seconds spent in the slang and downstream compiler. */ - virtual SLANG_NO_THROW double SLANG_MCALL getDownstreamCompilerElapsedTime() = 0; + virtual SLANG_NO_THROW void SLANG_MCALL getCompilerElapsedTime(double* outTotalTime, double* outDownstreamTime) = 0; }; #define SLANG_UUID_IGlobalSession IGlobalSession::getTypeGuid() |
