aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/rctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/rctl.h')
-rw-r--r--sys/sys/rctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/rctl.h b/sys/sys/rctl.h
index 1e0342732b80..e1a45a4949fa 100644
--- a/sys/sys/rctl.h
+++ b/sys/sys/rctl.h
@@ -140,6 +140,7 @@ void rctl_rule_release(struct rctl_rule *rule);
int rctl_rule_add(struct rctl_rule *rule);
int rctl_rule_remove(struct rctl_rule *filter);
int rctl_enforce(struct proc *p, int resource, uint64_t amount);
+int64_t rctl_pcpu_available(const struct proc *p);
uint64_t rctl_get_limit(struct proc *p, int resource);
uint64_t rctl_get_available(struct proc *p, int resource);
const char *rctl_resource_name(int resource);