@class NSDate, PLMonotonicTimer, NSDictionary, PLEntryNotificationOperatorComposition, NSMutableSet, PLThreadStats, PLXPCListenerOperatorComposition, PLXPCResponderOperatorComposition, PLNSNotificationOperatorComposition; @interface PLProcessMonitorAgent : PLAgent @property (retain) NSDate *currentCachedDate; @property (retain) NSDate *previousCacheDate; @property double currentCachedTotalCPUTime; @property BOOL firstBoot; @property (retain) PLMonotonicTimer *logTimer; @property (retain) PLEntryNotificationOperatorComposition *batteryLevelChanged; @property (retain) PLNSNotificationOperatorComposition *asertionNotifications; @property (retain) NSMutableSet *processes; @property (retain) NSDictionary *lastCPUTimeDict; @property (retain) NSDictionary *lastThreadIdToKTMonitorEntryDict; @property (retain) NSDate *lastEntryDate; @property BOOL launchServiceStatsEnabled; @property long long processExitSummaryCount; @property (retain) NSDictionary *lastFreezerProcs; @property (retain) NSDictionary *diffFreezerProcs; @property (retain) PLXPCListenerOperatorComposition *appResumePredictionsListener; @property (retain) PLXPCListenerOperatorComposition *appResumeInferredCarryListener; @property (retain) PLXPCListenerOperatorComposition *appNotFrozenListener; @property (retain) PLXPCResponderOperatorComposition *memoryKillsResponder; @property (retain) PLXPCResponderOperatorComposition *hudKillsResponder; @property (retain) PLThreadStats *threadStats; + (id)defaults; + (id)entryEventIntervalDefinitions; + (id)entryEventNoneDefinitions; + (void)load; + (id)entryEventForwardDefinitions; + (id)entryEventBackwardDefinitions; + (id)entryEventPointDefinitions; + (unsigned long long)PIDToCoalitionID:(int)a0; + (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; - (id)init; - (void)log; - (void)initTaskOperatorDependancies; - (void)initOperatorDependancies; - (void).cxx_destruct; - (id)getProcessName:(char *)a0; - (void)logEventPointSystemFreezerStats; - (void)logEventPointSharedCacheReslid:(int)a0; - (void)disableProcessExitLogging; - (void)enableProcessExitLogging; - (id)eventForwardProcessIDForPID:(int)a0; - (id)fetchSnapshotWithFlags:(unsigned int)a0; - (id)getAllProcessExitsInLastHour; - (void)getCpuUsageAndMemoryForPid:(int)a0 withBuffer:(void *)a1 withNewProcessArray:(id)a2 withTotalCpu:(unsigned long long *)a3 withActiveProcesses:(id)a4; - (id)getFrozenProcesses; - (int)getFrozenToSwapLedgerIndex:(long long)a0; - (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; char x16[80]; } x3; unsigned long long x4; struct jetsam_snapshot_entry { int x0; char 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; } x5[0]; } *)a0; - (int)getLedgerIndex:(long long)a0 forKey:(id)a1; - (int)getProcDirtyTimeLedgerIndex:(long long)a0; - (id)getProcessExits:(id)a0; - (id)getProcessesNotInFreezer:(id)a0 withCurrentProcesses:(id)a1; - (int)get_kthread_list:(unsigned long long **)a0; - (void)initializeThreadStatsLogging; - (id)ledgerDataAtIndex:(int)a0 forPid:(long long)a1; - (void)logEventBackwardAppLaunchTimeSeries:(id)a0; - (void)logEventBackwardProcessExitHistogram:(id)a0 withStats:(struct { id x0; struct _launch_service_stats_record *x1; unsigned int x2; } *)a1 withDate:(id)a2; - (void)logEventForwardAppResumeInferredCarry:(id)a0; - (void)logEventIntervalKernelTaskMonitor; - (void)logEventIntervalProcessMonitorInterval; - (void)logEventIntervalProcessMonitorIntervalUsingCache; - (void)logEventPointAppNapEnabled; - (void)logEventPointAppNotFrozen:(id)a0; - (void)logEventPointAppResumePredictions:(id)a0; - (void)logEventPointFreezerDemotion; - (void)logEventPointFreezerStats; - (void)logEventPointMemoryTracking; - (void)logEventPointProcessExit:(id)a0 excludeProcesses:(id)a1 withStats:(struct { id x0; struct _launch_service_stats_record *x1; unsigned int x2; } *)a2 withDate:(id)a3 withNowInSec:(unsigned long long)a4; - (void)logEventPointProcessSnapshot; - (void)logProcDirtyStats; - (void)logProcessExit; - (void)logThreadStats; - (id)processMonitorMultiKeyFromProcessID:(int)a0; - (void)processesOfInterest:(id)a0; - (void)updateProcessExitSummary; - (void)updateProcessMonitorCache; @end