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_thandle,uint32_tproperty,void *value,size_tname_len)
zx_status_t GetInfo (zx_handle_thandle,uint32_ttopic,void *buffer,size_tbuffer_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