CKSystraceListener Protocol Reference
Conforms to | CKMountLayoutListener |
---|---|
Declared in | CKSystraceListener.h |
Overview
This protocol is being used by the infrastructure to collect data into systrace if enabled.
– willStartAsyncBlockTrace:
required method
Start of the block that will start on one thread and end on another
- (std : : function<void(void)>)willStartAsyncBlockTrace:(const char *const)blockName
Return Value
completion block that will be called after the switch to different queue
Declared In
CKSystraceListener.h
– willStartBlockTrace:
required method
Start/End a block trace in systrace.
- (void)willStartBlockTrace:(const char *const)blockName
Declared In
CKSystraceListener.h
– willBuildComponent:
required method
Called before/after building a scoped component.
- (void)willBuildComponent:(const char *)componentTypeName
Discussion
Will be called only when systrace is enabled.
Declared In
CKSystraceListener.h
– willLayoutComponent:
required method
Called before/after layout a component.
- (void)willLayoutComponent:(id<CKMountable>)component
Discussion
Will be called only when systrace is enabled.
Declared In
CKSystraceListener.h
– willCheckShouldComponentUpdate:
required method
Called before/after evaluating a component should be updated or not.
- (void)willCheckShouldComponentUpdate:(const char *const)componentTypeName
Discussion
Will be called only when systrace is enabled.
Declared In
CKSystraceListener.h