12/21/2023 0 Comments Ianalyzer lite average frequency![]() after all analysis passes have ended and before the relogging pass begins, andĪn AnalysisControl code that describes what should happen next.For analyzers that are part of both the analyzer and relogger group of the same relogging session, this function is called twice: For analyzers that are part of a relogger group, this function is called after the relogging pass has ended. OnEndAnalysisįor analyzers that are part of an analyzer group, this function is called after the last analysis pass has ended. The result of the OnBeginAnalysisPass call. AnalysisControl OnBeginReloggingPass() final This function redirects the call to OnBeginAnalysisPass. It's called by the C++ Build Insights SDK when an analyzer is part of a relogger group. This function redirects the call to OnBeginAnalysis. OnBeginRelogging AnalysisControl OnBeginRelogging() final virtual AnalysisControl OnBeginAnalysisPass() Īn AnalysisControl code that describes what should happen next. For analyzers part of both the analyzer and relogger group of the same relogging session, this function is called at the beginning of every analysis pass, and at the beginning of the relogger pass. For analyzers part of a relogger group, this function is called at the beginning of the relogger pass. OnBeginAnalysisPassįor analyzers part of an analyzer group, this function is called at the beginning of every analysis pass. virtual AnalysisControl OnBeginAnalysis() Īn AnalysisControl code that describes what should happen next. For analyzers part of both the analyzer and relogger group of the same relogging session, this function is called twice before the first analysis pass begins. For analyzers part of a relogger group, this function is called before the relogging pass begins. virtual ~IAnalyzer() įor analyzers part of an analyzer group, this function is called before the first analysis pass begins. In addition to the OnTraceInfo member from the IRelogger interface, the IAnalyzer class contains the following members: Destructorĭestroys the IAnalyzer class. For more information, see AnalysisControl. The default return value for all functions that aren't overridden is AnalysisControl::CONTINUE. When placed in an early position of a relogger group, an analyzer can pre-compute information and make it available for reloggers in later positions. Using an analyzer in a relogger group is a common pattern. The reverse isn't true: a class that derives from IRelogger can't be used as an analyzer. When used as reloggers, the relogger-specific functions redirect to their analyzer equivalent. Virtual AnalysisControl OnEndAnalysisPass() ĪnalysisControl OnStartActivity(const EventStack& eventStack,ĪnalysisControl OnStopActivity(const EventStack& eventStack,ĪnalysisControl OnSimpleEvent(const EventStack& eventStack,ĪnalysisControl OnBeginRelogging() final ĪnalysisControl OnBeginReloggingPass() final ĪnalysisControl OnEndReloggingPass() final Ĭlasses that derive from IAnalyzer can be used as both analyzers and reloggers. Virtual AnalysisControl OnBeginAnalysisPass() Virtual AnalysisControl OnBeginAnalysis() Virtual AnalysisControl OnSimpleEvent(const EventStack& eventStack) Virtual AnalysisControl OnStopActivity(const EventStack& eventStack) Virtual AnalysisControl OnStartActivity(const EventStack& eventStack) Syntax class IAnalyzer : public IRelogger Use IAnalyzer as a base class to create your own analyzer that can be part of an analyzer or relogger group. It's used with the MakeDynamicAnalyzerGroup, MakeDynamicReloggerGroup, MakeStaticAnalyzerGroup, and MakeStaticReloggerGroup functions. The IAnalyzer class provides an interface for analyzing an Event Tracing for Windows (ETW) trace.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |