/Engine/Source/Editor/UnrealEd/Public/Kismet2/CompilerResultsLog.h
This class will begin a new compile event on construction, and automatically end it when the instance goes out of scope
class FScopedCompilerEvent