From c8340822cfe269121e638c1e44d2ba5b8fe70b03 Mon Sep 17 00:00:00 2001 From: wineway Date: Sat, 6 Aug 2022 19:14:44 +0800 Subject: core/cgroup: CPUWeight/CPUShares support idle input Signed-off-by: wineway --- src/shared/cgroup-setup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/cgroup-setup.h') diff --git a/src/shared/cgroup-setup.h b/src/shared/cgroup-setup.h index 7eabce2451..95a515339d 100644 --- a/src/shared/cgroup-setup.h +++ b/src/shared/cgroup-setup.h @@ -12,6 +12,7 @@ bool cg_is_legacy_wanted(void); bool cg_is_hybrid_wanted(void); int cg_weight_parse(const char *s, uint64_t *ret); +int cg_cpu_weight_parse(const char *s, uint64_t *ret); int cg_cpu_shares_parse(const char *s, uint64_t *ret); int cg_blkio_weight_parse(const char *s, uint64_t *ret); -- cgit v1.2.3