]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/systm.h
xnu-6153.61.1.tar.gz
[apple/xnu.git] / bsd / sys / systm.h
index a06576c40be9c2aec12fb68fb5b262689ba8ddae..dfcd2e73197b4037f239690beff1ee12cb338cba 100644 (file)
@@ -228,6 +228,8 @@ void    throttle_info_mount_rel(mount_t mp);
 void    throttle_info_release(void *throttle_info);
 void    throttle_info_update(void *throttle_info, int flags);
 uint32_t throttle_lowpri_io(int sleep_amount);
+/* returns TRUE if the throttle_lowpri_io called with the same sleep_amount would've slept */
+int     throttle_lowpri_io_will_be_throttled(int sleep_amount);
 void    throttle_set_thread_io_policy(int policy);
 int             throttle_get_thread_effective_io_policy(void);