]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/pgo.h
xnu-4570.71.2.tar.gz
[apple/xnu.git] / bsd / sys / pgo.h
index 8f7909b8218794535af484a04d4f54229a23bf0d..fcd669b51aa54d463f5522def7b77627bd1a3296 100644 (file)
@@ -37,8 +37,9 @@
 #define PGO_HIB (1)
 #define PGO_WAIT_FOR_UNLOAD (2)
 #define PGO_METADATA (4)
+#define PGO_RESET_ALL (8)
 
-#define PGO_ALL_FLAGS (PGO_HIB | PGO_WAIT_FOR_UNLOAD | PGO_METADATA)
+#define PGO_ALL_FLAGS (PGO_HIB | PGO_WAIT_FOR_UNLOAD | PGO_METADATA | PGO_RESET_ALL)
 
 
 /**
@@ -90,4 +91,9 @@ ssize_t grab_pgo_data(
 
 #endif
 
+#ifdef XNU_KERNEL_PRIVATE
+kern_return_t do_pgo_reset_counters(void);
+#endif
+
+
 #endif