hasPerformanceProfile(_:)
Indicates whether an app is running under a known performance profile.
Declaration
func hasPerformanceProfile(_ performanceProfile: NSProcessPerformanceProfile) -> BoolParameters
Return Value
True if the system is running under the given performance profile. If the profile isn’t sustained, the app might cause the device to throttle under a heavy workload.