#include <libkern/OSThermalNotification.h>

libkern/OSThermalNotification.h

* OSThermalNotification.h * * Notification mechanism to alert registered tasks when device thermal conditions * reach certain thresholds. Notifications are triggered in both directions * so clients can manage their memory usage more and less aggressively. *
includes: _bounds.h, sys/cdefs.h, Availability.h, TargetConditionals.h
1 enum · 1 typedef · 1 variable

enumOSThermalPressureLevel

Define pressure levels usable by OSThermalPressureLevel
underlying type unsigned int
kOSThermalPressureLevelNominal0
kOSThermalPressureLevelModerate1
kOSThermalPressureLevelHeavy2
kOSThermalPressureLevelTrapping3
kOSThermalPressureLevelSleeping4

typedefOSThermalPressureLevel

typedef enum OSThermalPressureLevel OSThermalPressureLevel;

variablekOSThermalNotificationPressureLevelName

* External notify(3) string for thermal pressure level notification
__OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_7_0) extern const char * const kOSThermalNotificationPressureLevelName