xinyiZzz commented on code in PR #47462: URL: https://github.com/apache/doris/pull/47462#discussion_r1966836400
########## be/src/runtime/memory/memory_profile.cpp: ########## @@ -334,15 +333,18 @@ int64_t MemoryProfile::other_current_usage() { return memory_other_trackers_sum_bytes.get_value(); } +std::string MemoryProfile::process_memory_detail_str() const { + return fmt::format("Process Memory Summary: {}\n, {}\n, {}\n, {}\n, {}\n, {}\n", Review Comment: 当初咱俩讨论过,是否给 `RuntimeProfile` 类新增一个 `pretty_print` 方法,支持压缩打印,减少行数,不过还没搞。 所以可以给这个地方加个注释 TODO -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org