feat:DoricPerf export anchor map

This commit is contained in:
pengfei.zhou
2021-07-19 16:40:42 +08:00
committed by osborn
parent 46eff0d904
commit 6bff1bd9a1
5 changed files with 35 additions and 1 deletions

View File

@@ -33,6 +33,8 @@ NS_ASSUME_NONNULL_BEGIN
@interface DoricPerformanceProfile : NSObject
@property(nonatomic, strong) NSMutableDictionary <NSString *, NSNumber *> *anchorMap;
- (instancetype)initWithName:(NSString *)name;
- (void)prepare:(NSString *)anchorName;

View File

@@ -25,7 +25,6 @@
@interface DoricPerformanceProfile ()
@property(nonatomic, copy) NSString *name;
@property(nonatomic, strong) NSMutableDictionary <NSString *, NSNumber *> *anchorMap;
@property(nonatomic, strong) dispatch_queue_t anchorQueue;
@property(nonatomic, assign) BOOL enable;
@property(nonatomic, strong) NSHashTable<id <DoricPerformanceAnchorHookProtocol>> *hooks;