Objective-CclassPowerlogLiteOperators
PLProcessMonitorAgent
@interface PLProcessMonitorAgent : PLAgent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classPLAgent
Members 155
- method
+ (unsigned long long)PIDToCoalitionID:(int)arg0; - method
+ (id)defaults; - method
+ (BOOL)enableThreadStatsLogging; - method
+ (id)entryEventBackwardAppLaunchTimeSeries; - method
+ (id)entryEventBackwardDefinitionThreadStats; - method
+ (id)entryEventBackwardDefinitions; - method
+ (id)entryEventBackwardProcessExitHistogram; - method
+ (id)entryEventForwardAppResumeInferredCarry; - method
+ (id)entryEventForwardDefinitions; - method
+ (id)entryEventForwardProcessID; - method
+ (id)entryEventIntervalDefinitionKernelTaskMonitor; - method
+ (id)entryEventIntervalDefinitionProcessMonitorDiff; - method
+ (id)entryEventIntervalDefinitions; - method
+ (id)entryEventNoneDefinitions; - method
+ (id)entryEventPointAppNapEnabled; - method
+ (id)entryEventPointAppNotFrozen; - method
+ (id)entryEventPointAppResumePredictions; - method
+ (id)entryEventPointDefinitions; - method
+ (id)entryEventPointFreezerDemotion; - method
+ (id)entryEventPointFreezerStats; - method
+ (id)entryEventPointMemoryTracking; - method
+ (id)entryEventPointProcessExit; - method
+ (id)entryEventPointProcessSnapshot; - method
+ (id)entryEventPointSharedCacheReslid; - method
+ (id)entryEventPointSystemFreezerStats; - method
+ (void)load; - ivar
PLXPCListenerOperatorComposition *_appNotFrozenListener;+0xb0 - ivar
PLXPCListenerOperatorComposition *_appResumeInferredCarryListener;+0xa8 - ivar
PLXPCListenerOperatorComposition *_appResumePredictionsListener;+0xa0 - ivar
PLNSNotificationOperatorComposition *_asertionNotifications;+0x60 - ivar
PLEntryNotificationOperatorComposition *_batteryLevelChanged;+0x58 - ivar
NSDate *_currentCachedDate;+0x38 - ivar
double _currentCachedTotalCPUTime;+0x48 - ivar
NSDictionary *_diffFreezerProcs;+0x98 - ivar
BOOL _firstBoot;+0x30 - ivar
PLXPCResponderOperatorComposition *_hudKillsResponder;+0xc0 - ivar
NSDictionary *_lastCPUTimeDict;+0x70 - ivar
NSDate *_lastEntryDate;+0x80 - ivar
NSDictionary *_lastFreezerProcs;+0x90 - ivar
NSDictionary *_lastThreadIdToKTMonitorEntryDict;+0x78 - ivar
BOOL _launchServiceStatsEnabled;+0x31 - ivar
PLMonotonicTimer *_logTimer;+0x50 - ivar
PLXPCResponderOperatorComposition *_memoryKillsResponder;+0xb8 - ivar
NSDate *_previousCacheDate;+0x40 - ivar
long long _processExitSummaryCount;+0x88 - ivar
NSMutableSet *_processes;+0x68 - ivar
PLThreadStats *_threadStats;+0xc8 - method
- (void).cxx_destruct; - method
- (id)appNotFrozenListener; - method
- (id)appResumeInferredCarryListener; - method
- (id)appResumePredictionsListener; - method
- (id)asertionNotifications; - method
- (id)batteryLevelChanged; - method
- (id)currentCachedDate; - method
- (double)currentCachedTotalCPUTime; - method
- (id)diffFreezerProcs; - method
- (void)disableProcessExitLogging; - method
- (void)enableProcessExitLogging; - method
- (id)eventForwardProcessIDForPID:(int)arg0; - method
- (id)fetchSnapshotWithFlags:(unsigned int)arg0; - method
- (BOOL)firstBoot; - method
- (id)getAllProcessExitsInLastHour; - 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; - method
- (id)getFrozenProcesses; - method
- (int)getFrozenToSwapLedgerIndex:(long long)arg0; - method
- (id)getJSEIdleTime; - 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; - method
- (int)getLedgerIndex:(long long)arg0 forKey:(id)arg1; - method
- (int)getProcDirtyTimeLedgerIndex:(long long)arg0; - method
- (id)getProcessExits:(id)arg0; - method
- (id)getProcessName:(char *)arg0; - method
- (id)getProcessesNotInFreezer:(id)arg0 withCurrentProcesses:(id)arg1; - method
- (int)get_kthread_list:(unsigned long long * *)arg0; - method
- (id)hudKillsResponder; - method
- (id)init; - method
- (void)initOperatorDependancies; - method
- (void)initTaskOperatorDependancies; - method
- (void)initializeThreadStatsLogging; - method
- (id)lastCPUTimeDict; - method
- (id)lastEntryDate; - method
- (id)lastFreezerProcs; - method
- (id)lastThreadIdToKTMonitorEntryDict; - method
- (BOOL)launchServiceStatsEnabled; - method
- (id)ledgerDataAtIndex:(int)arg0 forPid:(long long)arg1; - method
- (void)log; - method
- (void)logEventBackwardAppLaunchTimeSeries:(id)arg0; - 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; - method
- (void)logEventForwardAppResumeInferredCarry:(id)arg0; - method
- (void)logEventIntervalKernelTaskMonitor; - method
- (void)logEventIntervalProcessMonitorIntervalUsingCache; - method
- (void)logEventPointAppNapEnabled; - method
- (void)logEventPointAppNotFrozen:(id)arg0; - method
- (void)logEventPointAppResumePredictions:(id)arg0; - method
- (void)logEventPointFreezerDemotion; - method
- (void)logEventPointFreezerStats; - method
- (void)logEventPointMemoryTracking; - 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; - method
- (void)logEventPointProcessSnapshot; - method
- (void)logEventPointSharedCacheReslid:(int)arg0; - method
- (void)logEventPointSystemFreezerStats; - method
- (void)logProcDirtyStats; - method
- (void)logProcessExit; - method
- (void)logThreadStats; - method
- (id)logTimer; - method
- (id)memoryKillsResponder; - method
- (id)previousCacheDate; - method
- (long long)processExitSummaryCount; - method
- (id)processMonitorMultiKeyFromProcessID:(int)arg0; - method
- (id)processes; - method
- (void)processesOfInterest:(id)arg0; - method
- (void)setAppNotFrozenListener:(id)arg0; - method
- (void)setAppResumeInferredCarryListener:(id)arg0; - method
- (void)setAppResumePredictionsListener:(id)arg0; - method
- (void)setAsertionNotifications:(id)arg0; - method
- (void)setBatteryLevelChanged:(id)arg0; - method
- (void)setCurrentCachedDate:(id)arg0; - method
- (void)setCurrentCachedTotalCPUTime:(double)arg0; - method
- (void)setDiffFreezerProcs:(id)arg0; - method
- (void)setFirstBoot:(BOOL)arg0; - method
- (void)setHudKillsResponder:(id)arg0; - method
- (void)setLastCPUTimeDict:(id)arg0; - method
- (void)setLastEntryDate:(id)arg0; - method
- (void)setLastFreezerProcs:(id)arg0; - method
- (void)setLastThreadIdToKTMonitorEntryDict:(id)arg0; - method
- (void)setLaunchServiceStatsEnabled:(BOOL)arg0; - method
- (void)setLogTimer:(id)arg0; - method
- (void)setMemoryKillsResponder:(id)arg0; - method
- (void)setPreviousCacheDate:(id)arg0; - method
- (void)setProcessExitSummaryCount:(long long)arg0; - method
- (void)setProcesses:(id)arg0; - method
- (void)setThreadStats:(id)arg0; - method
- (id)threadStats; - method
- (void)updateProcessExitSummary; - method
- (void)updateProcessMonitorCache; - property
@property(retain) PLXPCListenerOperatorComposition *appNotFrozenListener; - property
@property(retain) PLXPCListenerOperatorComposition *appResumeInferredCarryListener; - property
@property(retain) PLXPCListenerOperatorComposition *appResumePredictionsListener; - property
@property(retain) PLNSNotificationOperatorComposition *asertionNotifications; - property
@property(retain) PLEntryNotificationOperatorComposition *batteryLevelChanged; - property
@property(retain) NSDate *currentCachedDate; - property
@property double currentCachedTotalCPUTime; - property
@property(retain) NSDictionary *diffFreezerProcs; - property
@property BOOL firstBoot; - property
@property(retain) PLXPCResponderOperatorComposition *hudKillsResponder; - property
@property(retain) NSDictionary *lastCPUTimeDict; - property
@property(retain) NSDate *lastEntryDate; - property
@property(retain) NSDictionary *lastFreezerProcs; - property
@property(retain) NSDictionary *lastThreadIdToKTMonitorEntryDict; - property
@property BOOL launchServiceStatsEnabled; - property
@property(retain) PLMonotonicTimer *logTimer; - property
@property(retain) PLXPCResponderOperatorComposition *memoryKillsResponder; - property
@property(retain) NSDate *previousCacheDate; - property
@property long long processExitSummaryCount; - property
@property(retain) NSMutableSet *processes; - property
@property(retain) PLThreadStats *threadStats;
Header
@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