yiguolei commented on code in PR #39256:
URL: https://github.com/apache/doris/pull/39256#discussion_r1714195712
##########
be/src/agent/cgroup_cpu_ctl.h:
##########
@@ -104,6 +104,12 @@ class CgroupV1CpuCtl : public CgroupCpuCtl {
Status delete_unused_cgroup_path(std::set<uint64_t>& used_wg_ids) override;
+ // Determines the CGroup cpu cores limit from the current processes'
cgroup.
+ static Status find_cgroup_cpu_limit(float* cpu_count);
Review Comment:
为什么返回值是一个float,不是一个整数?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]