-
Notifications
You must be signed in to change notification settings - Fork 0
/
IOReport_decompile.h
58 lines (44 loc) · 2.39 KB
/
IOReport_decompile.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef _IOREPORT_H_
#define _IOREPORT_H_
enum {
re_kIOReportIterOk,
re_kIOReportIterFailed,
re_kIOReportIterSkipped
};
typedef struct IOReportSubscription* IOReportSubscriptionRef;
typedef CFDictionaryRef IOReportSampleRef;
IOReportSubscriptionRef IOReportCreateSubscription(void* a,
CFMutableDictionaryRef desiredChannels,
CFMutableDictionaryRef* subbedChannels,
uint64_t channel_id,
CFTypeRef b);
CFMutableDictionaryRef IOReportCopyChannelsInGroup(NSString* group,
NSString* subgroup,
uint64_t a,
uint64_t b,
uint64_t c);
CFMutableDictionaryRef IOReportCopyAllChannels(uint64_t a,
uint64_t b);
int IOReportGetChannelCount(CFDictionaryRef a);
CFDictionaryRef IOReportCreateSamples(IOReportSubscriptionRef iorsub,
CFMutableDictionaryRef subbedChannels,
CFTypeRef a);
typedef int (^IOReportiterateblock)(IOReportSampleRef ch);
void IOReportIterate(CFDictionaryRef samples, IOReportiterateblock);
int IOReportChannelGetFormat(CFDictionaryRef samples);
NSString* IOReportChannelGetDriverName(CFDictionaryRef a);
NSString* IOReportChannelGetChannelName(CFDictionaryRef a);
NSString* IOReportChannelGetUnitLabel(CFDictionaryRef a);
NSString* IOReportChannelGetGroup(CFDictionaryRef a);
NSString* IOReportChannelGetSubGroup(CFDictionaryRef a);
long IOReportStateGetCount(CFDictionaryRef a);
uint64_t IOReportStateGetResidency(CFDictionaryRef a, int b);
NSString* IOReportStateGetNameForIndex(CFDictionaryRef a, int b);
uint64_t IOReportArrayGetValueAtIndex(CFDictionaryRef a, int b);
long IOReportSimpleGetIntegerValue(CFDictionaryRef a, int b);
extern int IOReportHistogramGetBucketCount(CFDictionaryRef);
extern int IOReportHistogramGetBucketMinValue(CFDictionaryRef, int);
extern int IOReportHistogramGetBucketMaxValue(CFDictionaryRef, int);
extern int IOReportHistogramGetBucketSum(CFDictionaryRef, int);
extern int IOReportHistogramGetBucketHits(CFDictionaryRef, int);
#endif /* _IOREPORT_H_ */