[Fuchsia] Build spam from LLVM Subzero build |
|
Issue descriptionCL https://chromium-review.googlesource.com/c/chromium/src/+/1170040 enabled SwiftShader under Fuchsia, meaning that we're actually building LLVM Subzero for that platform. LLVM Subzero/s Process.inc abstracts mallinfo() usage and getrusage() calls, but does not have implementations for Fuchsia, nor does Fuchsia set any of the recognized HAVE_ macros. We should provide Fuchsia-specific implementations, if possible.
,
Jan 15
It looks like GetMallocInfo() is only used to back getMemUsage() in lib/Support/Timer.cpp, and we can get memory usage information via zx_object_get_info(ZX_INFO_TASK_STATS) at present. For CPU usage we can get total-runtime per-thread, but I don't believe we yet have an API to get that per-process. |
|
►
Sign in to add a comment |
|
Comment 1 by w...@chromium.org
, Jan 15