17 #ifndef __CGROUPS_ISOLATOR_SUBSYSTEMS_CPUACCT_HPP__ 18 #define __CGROUPS_ISOLATOR_SUBSYSTEMS_CPUACCT_HPP__ 47 std::string
name()
const override 53 const ContainerID& containerId,
54 const std::string&
cgroup)
override;
64 #endif // __CGROUPS_ISOLATOR_SUBSYSTEMS_CPUACCT_HPP__
~CpuacctSubsystemProcess() override=default
static Try< process::Owned< SubsystemProcess > > create(const Flags &flags, const std::string &hierarchy)
Represent cgroups cpuacct subsystem.
Definition: cpuacct.hpp:38
const std::string CGROUP_SUBSYSTEM_CPUACCT_NAME
Definition: constants.hpp:44
Result< std::string > cgroup(pid_t pid)
Definition: subsystem.hpp:190
Definition: attributes.hpp:24
const std::string hierarchy
The hierarchy path of cgroups subsystem.
Definition: subsystem.hpp:245
std::string name() const override
Definition: cpuacct.hpp:47
process::Future< ResourceStatistics > usage(const ContainerID &containerId, const std::string &cgroup) override
Definition: future.hpp:58