Objective-CclassDVTInstrumentsFoundation
DTKPCPUCounterAllocator
@interface DTKPCPUCounterAllocator : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 42
- ivar
unsigned long long _configurableCounterCount;+0x20 - ivar
DTKPCPU *_cpu;+0x40 - ivar
NSMutableArray *_eventRecords;+0x10 - ivar
unsigned long long _eventsUniqueIds;+0x28 - ivar
unsigned long long _fixedCounterCount;+0x18 - ivar
struct kpep_config *_kpepConfig;+0x8 - ivar
DTKPCPUCounterAllocatorRecord *_pmiEvent;+0x30 - ivar
unsigned long long _pmiThreshold;+0x38 - method
- (void).cxx_destruct; - method
- (unsigned long long)_counterIndexForEvent:(id)arg0 absolute:(BOOL)arg1 error:(id *)arg2; - method
- (id)_counterNameForEvent:(id)arg0 error:(id *)arg1; - method
- (void)_enumerateAllocatedPMCsWithIndex:(id /* block */)arg0; - method
- (BOOL)_eventExists:(id)arg0 eventOut:(id *)arg1; - method
- (unsigned int)_getCurrentClasses:(id *)arg0; - method
- (unsigned long long)_hardwareEventCount; - method
- (BOOL)_matchesPMIEvent:(id)arg0; - method
- (int)_setErrorFromKpepError:(int)arg0 eventName:(id)arg1 error:(id *)arg2; - method
- (int)addPMCEventName:(id)arg0 error:(id *)arg1; - method
- (id)allocatedPMIRecord; - method
- (int)configureHardwareCounters:(id *)arg0; - method
- (int)configureHardwarePMIPeriods:(id *)arg0; - method
- (int)configurePMIActionID:(unsigned int)arg0 error:(id *)arg1; - method
- (id)cpu; - method
- (void)dealloc; - method
- (void)enumerateAllocatedPMCs:(id /* block */)arg0; - method
- (int)forceCounters:(id *)arg0; - method
- (id)initWithCPU:(id)arg0 error:(id *)arg1; - method
- (unsigned int)kpcClasses; - method
- (unsigned long long)pmcEventCount; - method
- (BOOL)pmiEnabled; - method
- (unsigned long long)pmiThreshold; - method
- (unsigned long long)recordConfigWordsIntoBuffer:(unsigned long long *)arg0; - method
- (int)setPMIEventName:(id)arg0 pmiThreshold:(unsigned long long)arg1 error:(id *)arg2; - method
- (int)startHardwareCounters:(id *)arg0; - method
- (int)stopHardwareCounters:(id *)arg0; - method
- (int)unforceCounters:(id *)arg0; - property
@property(readonly, retain, nonatomic) DTKPCPUCounterAllocatorRecord *allocatedPMIRecord; - property
@property(readonly, retain, nonatomic) DTKPCPU *cpu; - property
@property(readonly, nonatomic) unsigned int kpcClasses; - property
@property(readonly, nonatomic) unsigned long long pmcEventCount; - property
@property(readonly, nonatomic) BOOL pmiEnabled; - property
@property(readonly, nonatomic) unsigned long long pmiThreshold;
Header
@interface DTKPCPUCounterAllocator : NSObject { struct kpep_config *_kpepConfig; NSMutableArray *_eventRecords; unsigned long long _fixedCounterCount; unsigned long long _configurableCounterCount; unsigned long long _eventsUniqueIds; DTKPCPUCounterAllocatorRecord *_pmiEvent; unsigned long long _pmiThreshold; DTKPCPU *_cpu; } @property (nonatomic, readonly) unsigned int kpcClasses; @property (nonatomic, strong, readonly) DTKPCPU *cpu; @property (nonatomic, strong, readonly) DTKPCPUCounterAllocatorRecord *allocatedPMIRecord; @property (nonatomic, readonly) unsigned long long pmcEventCount; @property (nonatomic, readonly) BOOL pmiEnabled; @property (nonatomic, readonly) unsigned long long pmiThreshold; - (void).cxx_destruct; - (void)dealloc; - (id)cpu; - (unsigned long long)_counterIndexForEvent:(id)event absolute:(BOOL)absolute error:(id *)error; - (id)_counterNameForEvent:(id)event error:(id *)error; - (void)_enumerateAllocatedPMCsWithIndex:(id /* block */)index; - (BOOL)_eventExists:(id)_eventExists eventOut:(id *)eventOut; - (unsigned int)_getCurrentClasses:(id *)currentClasses; - (unsigned long long)_hardwareEventCount; - (BOOL)_matchesPMIEvent:(id)_matchesPMIEvent; - (int)_setErrorFromKpepError:(int)kpepError eventName:(id)eventName error:(id *)error; - (int)addPMCEventName:(id)addPMCEventName error:(id *)error; - (id)allocatedPMIRecord; - (int)configureHardwareCounters:(id *)configureHardwareCounters; - (int)configureHardwarePMIPeriods:(id *)configureHardwarePMIPeriods; - (int)configurePMIActionID:(unsigned int)configurePMIActionID error:(id *)error; - (void)enumerateAllocatedPMCs:(id /* block */)enumerateAllocatedPMCs; - (int)forceCounters:(id *)forceCounters; - (id)initWithCPU:(id)cPU error:(id *)error; - (unsigned int)kpcClasses; - (unsigned long long)pmcEventCount; - (BOOL)pmiEnabled; - (unsigned long long)pmiThreshold; - (unsigned long long)recordConfigWordsIntoBuffer:(unsigned long long *)buffer; - (int)setPMIEventName:(id)pMIEventName pmiThreshold:(unsigned long long)pmiThreshold error:(id *)error; - (int)startHardwareCounters:(id *)startHardwareCounters; - (int)stopHardwareCounters:(id *)stopHardwareCounters; - (int)unforceCounters:(id *)unforceCounters; @end