class OS
Defined at line 158 of file ../../src/developer/memory/metrics/capture.h
OS is an abstract interface to Zircon OS calls.
Public Methods
zx_status_t GetKernelStats (fidl::WireSyncClient<fuchsia_kernel::Stats> * stats_client)
zx_handle_t ProcessSelf ()
zx_instant_boot_t GetBoot ()
zx_status_t GetProcesses (fit::function<zx_status_t (int, zx::handle, zx_koid_t, zx_koid_t)> cb)
zx_status_t GetProperty (zx_handle_t handle, uint32_t property, void * value, size_t name_len)
zx_status_t GetInfo (zx_handle_t handle, uint32_t topic, void * buffer, size_t buffer_size, size_t * actual, size_t * avail)
zx_status_t GetKernelMemoryStats (const fidl::WireSyncClient<fuchsia_kernel::Stats> & stats_client, zx_info_kmem_stats_t & kmem)
zx_status_t GetKernelMemoryStatsExtended (const fidl::WireSyncClient<fuchsia_kernel::Stats> & stats_client, zx_info_kmem_stats_extended_t & kmem_ext, zx_info_kmem_stats_t * kmem)
zx_status_t GetKernelMemoryStatsCompression (const fidl::WireSyncClient<fuchsia_kernel::Stats> & stats_client, zx_info_kmem_stats_compression_t & kmem_compression)
void ~OS ()
Defined at line 160 of file ../../src/developer/memory/metrics/capture.h