Objective-CclassPowerlogLiteOperators

@interface PLProcessMonitorAgent : PLAgent

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 155

  1. method+ (unsigned long long)PIDToCoalitionID:(int)arg0;
  2. method+ (id)defaults;
  3. method+ (BOOL)enableThreadStatsLogging;
  4. method+ (id)entryEventBackwardAppLaunchTimeSeries;
  5. method+ (id)entryEventBackwardDefinitionThreadStats;
  6. method+ (id)entryEventBackwardDefinitions;
  7. method+ (id)entryEventBackwardProcessExitHistogram;
  8. method+ (id)entryEventForwardAppResumeInferredCarry;
  9. method+ (id)entryEventForwardDefinitions;
  10. method+ (id)entryEventForwardProcessID;
  11. method+ (id)entryEventIntervalDefinitionKernelTaskMonitor;
  12. method+ (id)entryEventIntervalDefinitionProcessMonitorDiff;
  13. method+ (id)entryEventIntervalDefinitions;
  14. method+ (id)entryEventNoneDefinitions;
  15. method+ (id)entryEventPointAppNapEnabled;
  16. method+ (id)entryEventPointAppNotFrozen;
  17. method+ (id)entryEventPointAppResumePredictions;
  18. method+ (id)entryEventPointDefinitions;
  19. method+ (id)entryEventPointFreezerDemotion;
  20. method+ (id)entryEventPointFreezerStats;
  21. method+ (id)entryEventPointMemoryTracking;
  22. method+ (id)entryEventPointProcessExit;
  23. method+ (id)entryEventPointProcessSnapshot;
  24. method+ (id)entryEventPointSharedCacheReslid;
  25. method+ (id)entryEventPointSystemFreezerStats;
  26. method+ (void)load;
  27. ivarPLXPCListenerOperatorComposition *_appNotFrozenListener;+0xb0
  28. ivarPLXPCListenerOperatorComposition *_appResumeInferredCarryListener;+0xa8
  29. ivarPLXPCListenerOperatorComposition *_appResumePredictionsListener;+0xa0
  30. ivarPLNSNotificationOperatorComposition *_asertionNotifications;+0x60
  31. ivarPLEntryNotificationOperatorComposition *_batteryLevelChanged;+0x58
  32. ivarNSDate *_currentCachedDate;+0x38
  33. ivardouble _currentCachedTotalCPUTime;+0x48
  34. ivarNSDictionary *_diffFreezerProcs;+0x98
  35. ivarBOOL _firstBoot;+0x30
  36. ivarPLXPCResponderOperatorComposition *_hudKillsResponder;+0xc0
  37. ivarNSDictionary *_lastCPUTimeDict;+0x70
  38. ivarNSDate *_lastEntryDate;+0x80
  39. ivarNSDictionary *_lastFreezerProcs;+0x90
  40. ivarNSDictionary *_lastThreadIdToKTMonitorEntryDict;+0x78
  41. ivarBOOL _launchServiceStatsEnabled;+0x31
  42. ivarPLMonotonicTimer *_logTimer;+0x50
  43. ivarPLXPCResponderOperatorComposition *_memoryKillsResponder;+0xb8
  44. ivarNSDate *_previousCacheDate;+0x40
  45. ivarlong long _processExitSummaryCount;+0x88
  46. ivarNSMutableSet *_processes;+0x68
  47. ivarPLThreadStats *_threadStats;+0xc8
  48. method- (void).cxx_destruct;
  49. method- (id)appNotFrozenListener;
  50. method- (id)appResumeInferredCarryListener;
  51. method- (id)appResumePredictionsListener;
  52. method- (id)asertionNotifications;
  53. method- (id)batteryLevelChanged;
  54. method- (id)currentCachedDate;
  55. method- (double)currentCachedTotalCPUTime;
  56. method- (id)diffFreezerProcs;
  57. method- (void)disableProcessExitLogging;
  58. method- (void)enableProcessExitLogging;
  59. method- (id)eventForwardProcessIDForPID:(int)arg0;
  60. method- (id)fetchSnapshotWithFlags:(unsigned int)arg0;
  61. method- (BOOL)firstBoot;
  62. method- (id)getAllProcessExitsInLastHour;
  63. method- (void)getCpuUsageAndMemoryForPid:(int)arg0 withBuffer:(struct rusage_info_v5 { unsigned char[16] x0; unsigned long long x1; unsigned long long x2; unsigned long long x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; unsigned long long x7; unsigned long long x8; unsigned long long x9; unsigned long long x10; unsigned long long x11; unsigned long long x12; unsigned long long x13; unsigned long long x14; unsigned long long x15; unsigned long long x16; unsigned long long x17; unsigned long long x18; unsigned long long x19; unsigned long long x20; unsigned long long x21; unsigned long long x22; unsigned long long x23; unsigned long long x24; unsigned long long x25; unsigned long long x26; unsigned long long x27; unsigned long long x28; unsigned long long x29; unsigned long long x30; unsigned long long x31; unsigned long long x32; unsigned long long x33; unsigned long long x34; unsigned long long x35; unsigned long long x36; } *)arg1 withNewProcessArray:(id)arg2 withTotalCpu:(unsigned long long *)arg3 withActiveProcesses:(id)arg4;
  64. method- (id)getFrozenProcesses;
  65. method- (int)getFrozenToSwapLedgerIndex:(long long)arg0;
  66. method- (id)getJSEIdleTime;
  67. method- (id)getJetsamSnapshotEntries:(struct jetsam_snapshot { unsigned long long x0; unsigned long long x1; unsigned long long x2; struct memorystatus_kernel_stats { unsigned int x0; unsigned int x1; unsigned int x2; unsigned int x3; unsigned int x4; unsigned int x5; unsigned int x6; unsigned int x7; unsigned int x8; unsigned int x9; unsigned long long x10; unsigned long long x11; unsigned long long x12; unsigned long long x13; unsigned long long x14; unsigned long long x15; char[80] x16; } x3; unsigned long long x4; struct jetsam_snapshot_entry { int x0; char[33] x1; int x2; unsigned int x3; unsigned int x4; int x5; unsigned char[16] x6; unsigned long long x7; unsigned long long x8; unsigned long long x9; unsigned long long x10; unsigned long long x11; unsigned long long x12; unsigned long long x13; unsigned long long x14; unsigned long long x15; unsigned long long x16; unsigned long long x17; unsigned long long x18; unsigned long long x19; unsigned long long x20; unsigned long long x21; unsigned long long x22; unsigned long long x23; unsigned long long x24; unsigned long long x25; struct timeval64 { long long x0; long long x1; } x26; unsigned long long x27; unsigned long long x28; unsigned long long x29; unsigned int x30; unsigned long long x31; unsigned long long x32; }[0] x5; } *)arg0;
  68. method- (int)getLedgerIndex:(long long)arg0 forKey:(id)arg1;
  69. method- (int)getProcDirtyTimeLedgerIndex:(long long)arg0;
  70. method- (id)getProcessExits:(id)arg0;
  71. method- (id)getProcessName:(char *)arg0;
  72. method- (id)getProcessesNotInFreezer:(id)arg0 withCurrentProcesses:(id)arg1;
  73. method- (int)get_kthread_list:(unsigned long long * *)arg0;
  74. method- (id)hudKillsResponder;
  75. method- (id)init;
  76. method- (void)initOperatorDependancies;
  77. method- (void)initTaskOperatorDependancies;
  78. method- (void)initializeThreadStatsLogging;
  79. method- (id)lastCPUTimeDict;
  80. method- (id)lastEntryDate;
  81. method- (id)lastFreezerProcs;
  82. method- (id)lastThreadIdToKTMonitorEntryDict;
  83. method- (BOOL)launchServiceStatsEnabled;
  84. method- (id)ledgerDataAtIndex:(int)arg0 forPid:(long long)arg1;
  85. method- (void)log;
  86. method- (void)logEventBackwardAppLaunchTimeSeries:(id)arg0;
  87. method- (void)logEventBackwardProcessExitHistogram:(id)arg0 withStats:(struct { id x0; struct _launch_service_stats_record * x1; unsigned int x2; unsigned int x3; } *)arg1 withDate:(id)arg2;
  88. method- (void)logEventForwardAppResumeInferredCarry:(id)arg0;
  89. method- (void)logEventIntervalKernelTaskMonitor;
  90. method- (void)logEventIntervalProcessMonitorIntervalUsingCache;
  91. method- (void)logEventPointAppNapEnabled;
  92. method- (void)logEventPointAppNotFrozen:(id)arg0;
  93. method- (void)logEventPointAppResumePredictions:(id)arg0;
  94. method- (void)logEventPointFreezerDemotion;
  95. method- (void)logEventPointFreezerStats;
  96. method- (void)logEventPointMemoryTracking;
  97. method- (void)logEventPointProcessExit:(id)arg0 excludeProcesses:(id)arg1 withStats:(struct { id x0; struct _launch_service_stats_record * x1; unsigned int x2; unsigned int x3; } *)arg2 withDate:(id)arg3 withNowInSec:(unsigned long long)arg4;
  98. method- (void)logEventPointProcessSnapshot;
  99. method- (void)logEventPointSharedCacheReslid:(int)arg0;
  100. method- (void)logEventPointSystemFreezerStats;
  101. method- (void)logProcDirtyStats;
  102. method- (void)logProcessExit;
  103. method- (void)logThreadStats;
  104. method- (id)logTimer;
  105. method- (id)memoryKillsResponder;
  106. method- (id)previousCacheDate;
  107. method- (long long)processExitSummaryCount;
  108. method- (id)processMonitorMultiKeyFromProcessID:(int)arg0;
  109. method- (id)processes;
  110. method- (void)processesOfInterest:(id)arg0;
  111. method- (void)setAppNotFrozenListener:(id)arg0;
  112. method- (void)setAppResumeInferredCarryListener:(id)arg0;
  113. method- (void)setAppResumePredictionsListener:(id)arg0;
  114. method- (void)setAsertionNotifications:(id)arg0;
  115. method- (void)setBatteryLevelChanged:(id)arg0;
  116. method- (void)setCurrentCachedDate:(id)arg0;
  117. method- (void)setCurrentCachedTotalCPUTime:(double)arg0;
  118. method- (void)setDiffFreezerProcs:(id)arg0;
  119. method- (void)setFirstBoot:(BOOL)arg0;
  120. method- (void)setHudKillsResponder:(id)arg0;
  121. method- (void)setLastCPUTimeDict:(id)arg0;
  122. method- (void)setLastEntryDate:(id)arg0;
  123. method- (void)setLastFreezerProcs:(id)arg0;
  124. method- (void)setLastThreadIdToKTMonitorEntryDict:(id)arg0;
  125. method- (void)setLaunchServiceStatsEnabled:(BOOL)arg0;
  126. method- (void)setLogTimer:(id)arg0;
  127. method- (void)setMemoryKillsResponder:(id)arg0;
  128. method- (void)setPreviousCacheDate:(id)arg0;
  129. method- (void)setProcessExitSummaryCount:(long long)arg0;
  130. method- (void)setProcesses:(id)arg0;
  131. method- (void)setThreadStats:(id)arg0;
  132. method- (id)threadStats;
  133. method- (void)updateProcessExitSummary;
  134. method- (void)updateProcessMonitorCache;
  135. property@property(retain) PLXPCListenerOperatorComposition *appNotFrozenListener;
  136. property@property(retain) PLXPCListenerOperatorComposition *appResumeInferredCarryListener;
  137. property@property(retain) PLXPCListenerOperatorComposition *appResumePredictionsListener;
  138. property@property(retain) PLNSNotificationOperatorComposition *asertionNotifications;
  139. property@property(retain) PLEntryNotificationOperatorComposition *batteryLevelChanged;
  140. property@property(retain) NSDate *currentCachedDate;
  141. property@property double currentCachedTotalCPUTime;
  142. property@property(retain) NSDictionary *diffFreezerProcs;
  143. property@property BOOL firstBoot;
  144. property@property(retain) PLXPCResponderOperatorComposition *hudKillsResponder;
  145. property@property(retain) NSDictionary *lastCPUTimeDict;
  146. property@property(retain) NSDate *lastEntryDate;
  147. property@property(retain) NSDictionary *lastFreezerProcs;
  148. property@property(retain) NSDictionary *lastThreadIdToKTMonitorEntryDict;
  149. property@property BOOL launchServiceStatsEnabled;
  150. property@property(retain) PLMonotonicTimer *logTimer;
  151. property@property(retain) PLXPCResponderOperatorComposition *memoryKillsResponder;
  152. property@property(retain) NSDate *previousCacheDate;
  153. property@property long long processExitSummaryCount;
  154. property@property(retain) NSMutableSet *processes;
  155. property@property(retain) PLThreadStats *threadStats;
@interface PLProcessMonitorAgent : PLAgent {
    BOOL _firstBoot;
    BOOL _launchServiceStatsEnabled;
    NSDate *_currentCachedDate;
    NSDate *_previousCacheDate;
    double _currentCachedTotalCPUTime;
    PLMonotonicTimer *_logTimer;
    PLEntryNotificationOperatorComposition *_batteryLevelChanged;
    PLNSNotificationOperatorComposition *_asertionNotifications;
    NSMutableSet *_processes;
    NSDictionary *_lastCPUTimeDict;
    NSDictionary *_lastThreadIdToKTMonitorEntryDict;
    NSDate *_lastEntryDate;
    long long _processExitSummaryCount;
    NSDictionary *_lastFreezerProcs;
    NSDictionary *_diffFreezerProcs;
    PLXPCListenerOperatorComposition *_appResumePredictionsListener;
    PLXPCListenerOperatorComposition *_appResumeInferredCarryListener;
    PLXPCListenerOperatorComposition *_appNotFrozenListener;
    PLXPCResponderOperatorComposition *_memoryKillsResponder;
    PLXPCResponderOperatorComposition *_hudKillsResponder;
    PLThreadStats *_threadStats;
}

@property (strong) NSDate *currentCachedDate;
@property (strong) NSDate *previousCacheDate;
@property double currentCachedTotalCPUTime;
@property BOOL firstBoot;
@property (strong) PLMonotonicTimer *logTimer;
@property (strong) PLEntryNotificationOperatorComposition *batteryLevelChanged;
@property (strong) PLNSNotificationOperatorComposition *asertionNotifications;
@property (strong) NSMutableSet *processes;
@property (strong) NSDictionary *lastCPUTimeDict;
@property (strong) NSDictionary *lastThreadIdToKTMonitorEntryDict;
@property (strong) NSDate *lastEntryDate;
@property BOOL launchServiceStatsEnabled;
@property long long processExitSummaryCount;
@property (strong) NSDictionary *lastFreezerProcs;
@property (strong) NSDictionary *diffFreezerProcs;
@property (strong) PLXPCListenerOperatorComposition *appResumePredictionsListener;
@property (strong) PLXPCListenerOperatorComposition *appResumeInferredCarryListener;
@property (strong) PLXPCListenerOperatorComposition *appNotFrozenListener;
@property (strong) PLXPCResponderOperatorComposition *memoryKillsResponder;
@property (strong) PLXPCResponderOperatorComposition *hudKillsResponder;
@property (strong) PLThreadStats *threadStats;

+ (id)defaults;
+ (id)entryEventBackwardDefinitions;
+ (void)load;
+ (id)entryEventPointDefinitions;
+ (id)entryEventIntervalDefinitions;
+ (id)entryEventForwardDefinitions;
+ (id)entryEventNoneDefinitions;
+ (unsigned long long)PIDToCoalitionID:(int)coalitionID;
+ (BOOL)enableThreadStatsLogging;
+ (id)entryEventBackwardAppLaunchTimeSeries;
+ (id)entryEventBackwardDefinitionThreadStats;
+ (id)entryEventBackwardProcessExitHistogram;
+ (id)entryEventForwardAppResumeInferredCarry;
+ (id)entryEventForwardProcessID;
+ (id)entryEventIntervalDefinitionKernelTaskMonitor;
+ (id)entryEventIntervalDefinitionProcessMonitorDiff;
+ (id)entryEventPointAppNapEnabled;
+ (id)entryEventPointAppNotFrozen;
+ (id)entryEventPointAppResumePredictions;
+ (id)entryEventPointFreezerDemotion;
+ (id)entryEventPointFreezerStats;
+ (id)entryEventPointMemoryTracking;
+ (id)entryEventPointProcessExit;
+ (id)entryEventPointProcessSnapshot;
+ (id)entryEventPointSharedCacheReslid;
+ (id)entryEventPointSystemFreezerStats;

- (void)setLastEntryDate:(id)lastEntryDate;
- (id)lastEntryDate;
- (void)setProcesses:(id)processes;
- (void)log;
- (void)initTaskOperatorDependancies;
- (void)setBatteryLevelChanged:(id)batteryLevelChanged;
- (void).cxx_destruct;
- (void)initOperatorDependancies;
- (id)batteryLevelChanged;
- (id)init;
- (id)processes;
- (void)logEventPointSharedCacheReslid:(int)logEventPointSharedCacheReslid;
- (void)setThreadStats:(id)threadStats;
- (id)getProcessName:(char *)processName;
- (id)lastCPUTimeDict;
- (void)logEventPointSystemFreezerStats;
- (id)appNotFrozenListener;
- (id)appResumeInferredCarryListener;
- (id)appResumePredictionsListener;
- (id)asertionNotifications;
- (id)currentCachedDate;
- (double)currentCachedTotalCPUTime;
- (id)diffFreezerProcs;
- (void)disableProcessExitLogging;
- (void)enableProcessExitLogging;
- (id)eventForwardProcessIDForPID:(int)pID;
- (id)fetchSnapshotWithFlags:(unsigned int)flags;
- (BOOL)firstBoot;
- (id)getAllProcessExitsInLastHour;
- (void)getCpuUsageAndMemoryForPid:(int)pid withBuffer:(struct rusage_info_v5 { unsigned char x0[16]; unsigned long long x1; unsigned long long x2; unsigned long long x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; unsigned long long x7; unsigned long long x8; unsigned long long x9; unsigned long long x10; unsigned long long x11; unsigned long long x12; unsigned long long x13; unsigned long long x14; unsigned long long x15; unsigned long long x16; unsigned long long x17; unsigned long long x18; unsigned long long x19; unsigned long long x20; unsigned long long x21; unsigned long long x22; unsigned long long x23; unsigned long long x24; unsigned long long x25; unsigned long long x26; unsigned long long x27; unsigned long long x28; unsigned long long x29; unsigned long long x30; unsigned long long x31; unsigned long long x32; unsigned long long x33; unsigned long long x34; unsigned long long x35; unsigned long long x36; } *)withBuffer withNewProcessArray:(id)withNewProcessArray withTotalCpu:(unsigned long long *)withTotalCpu withActiveProcesses:(id)withActiveProcesses;
- (id)getFrozenProcesses;
- (int)getFrozenToSwapLedgerIndex:(long long)swapLedgerIndex;
- (id)getJSEIdleTime;
- (id)getJetsamSnapshotEntries:(struct jetsam_snapshot { unsigned long long x0; unsigned long long x1; unsigned long long x2; struct memorystatus_kernel_stats { unsigned int x0; unsigned int x1; unsigned int x2; unsigned int x3; unsigned int x4; unsigned int x5; unsigned int x6; unsigned int x7; unsigned int x8; unsigned int x9; unsigned long long x10; unsigned long long x11; unsigned long long x12; unsigned long long x13; unsigned long long x14; unsigned long long x15; BOOL x16[80]; } x3; unsigned long long x4; struct jetsam_snapshot_entry { int x0; BOOL x1[33]; int x2; unsigned int x3; unsigned int x4; int x5; unsigned char x6[16]; unsigned long long x7; unsigned long long x8; unsigned long long x9; unsigned long long x10; unsigned long long x11; unsigned long long x12; unsigned long long x13; unsigned long long x14; unsigned long long x15; unsigned long long x16; unsigned long long x17; unsigned long long x18; unsigned long long x19; unsigned long long x20; unsigned long long x21; unsigned long long x22; unsigned long long x23; unsigned long long x24; unsigned long long x25; struct timeval64 { long long x0; long long x1; } x26; unsigned long long x27; unsigned long long x28; unsigned long long x29; unsigned int x30; unsigned long long x31; unsigned long long x32; } x5[0]; } *)jetsamSnapshotEntries;
- (int)getLedgerIndex:(long long)ledgerIndex forKey:(id)forKey;
- (int)getProcDirtyTimeLedgerIndex:(long long)procDirtyTimeLedgerIndex;
- (id)getProcessExits:(id)processExits;
- (id)getProcessesNotInFreezer:(id)freezer withCurrentProcesses:(id)withCurrentProcesses;
- (int)get_kthread_list:(unsigned long long * *)get_kthread_list;
- (id)hudKillsResponder;
- (void)initializeThreadStatsLogging;
- (id)lastFreezerProcs;
- (id)lastThreadIdToKTMonitorEntryDict;
- (BOOL)launchServiceStatsEnabled;
- (id)ledgerDataAtIndex:(int)index forPid:(long long)forPid;
- (void)logEventBackwardAppLaunchTimeSeries:(id)logEventBackwardAppLaunchTimeSeries;
- (void)logEventBackwardProcessExitHistogram:(id)logEventBackwardProcessExitHistogram withStats:(struct { id x0; struct _launch_service_stats_record * x1; unsigned int x2; unsigned int x3; } *)withStats withDate:(id)withDate;
- (void)logEventForwardAppResumeInferredCarry:(id)logEventForwardAppResumeInferredCarry;
- (void)logEventIntervalKernelTaskMonitor;
- (void)logEventIntervalProcessMonitorIntervalUsingCache;
- (void)logEventPointAppNapEnabled;
- (void)logEventPointAppNotFrozen:(id)logEventPointAppNotFrozen;
- (void)logEventPointAppResumePredictions:(id)logEventPointAppResumePredictions;
- (void)logEventPointFreezerDemotion;
- (void)logEventPointFreezerStats;
- (void)logEventPointMemoryTracking;
- (void)logEventPointProcessExit:(id)logEventPointProcessExit excludeProcesses:(id)excludeProcesses withStats:(struct { id x0; struct _launch_service_stats_record * x1; unsigned int x2; unsigned int x3; } *)withStats withDate:(id)withDate withNowInSec:(unsigned long long)sec;
- (void)logEventPointProcessSnapshot;
- (void)logProcDirtyStats;
- (void)logProcessExit;
- (void)logThreadStats;
- (id)logTimer;
- (id)memoryKillsResponder;
- (id)previousCacheDate;
- (long long)processExitSummaryCount;
- (id)processMonitorMultiKeyFromProcessID:(int)processID;
- (void)processesOfInterest:(id)interest;
- (void)setAppNotFrozenListener:(id)appNotFrozenListener;
- (void)setAppResumeInferredCarryListener:(id)appResumeInferredCarryListener;
- (void)setAppResumePredictionsListener:(id)appResumePredictionsListener;
- (void)setAsertionNotifications:(id)asertionNotifications;
- (void)setCurrentCachedDate:(id)currentCachedDate;
- (void)setCurrentCachedTotalCPUTime:(double)currentCachedTotalCPUTime;
- (void)setDiffFreezerProcs:(id)diffFreezerProcs;
- (void)setFirstBoot:(BOOL)firstBoot;
- (void)setHudKillsResponder:(id)hudKillsResponder;
- (void)setLastCPUTimeDict:(id)lastCPUTimeDict;
- (void)setLastFreezerProcs:(id)lastFreezerProcs;
- (void)setLastThreadIdToKTMonitorEntryDict:(id)kTMonitorEntryDict;
- (void)setLaunchServiceStatsEnabled:(BOOL)launchServiceStatsEnabled;
- (void)setLogTimer:(id)logTimer;
- (void)setMemoryKillsResponder:(id)memoryKillsResponder;
- (void)setPreviousCacheDate:(id)previousCacheDate;
- (void)setProcessExitSummaryCount:(long long)processExitSummaryCount;
- (id)threadStats;
- (void)updateProcessExitSummary;
- (void)updateProcessMonitorCache;

@end