System/Library/PrivateFrameworks/ProactiveHarvesting.framework
HVPowerBudgetThrottlingState.h
Download HVPowerBudgetThrottlingState.h
@class NSObject;
@protocol OS_os_log;
@interface HVPowerBudgetThrottlingState : NSObject {
struct _opaque_pthread_mutex_t { long long __sig; char __opaque[56]; } _lock;
NSObject<OS_os_log> *_log;
struct { unsigned int magic; int opsLeft; long long nsecLeft; int extraOpsLeft; int budgetState; long long timeOfLastChange; } _state;
unsigned long long _absTimeAtOpStart;
unsigned long long _timeSinceOpStart;
int _fd;
BOOL _opInProgress;
BOOL _dirty;
BOOL _wasOnBattery;
BOOL _wasEnabled;
BOOL _hasClassCUnlock;
}
- (void)updateState:(unsigned int)a0;
- (unsigned char)canDoDiscretionaryWork:(unsigned int *)a0;
- (void)dealloc;
- (unsigned char)canDoExtraDiscretionaryWork;
- (id)initWithPath:(id)a0 log:(id)a1;
- (void)refillState;
- (id)state;
- (void)startWork;
- (void)checkBatteryStateForRefill;
- (void)didConsumeAnExtraBudgetedOperation;
- (unsigned char)canDoDiscretionaryWork;
- (void).cxx_destruct;
- (void)endWork;
@end