class Monitor
Defined at line 32 of file ../../src/developer/memory/monitor/monitor.h
Public Members
static const char[] kTraceName
Public Methods
void ~Monitor ()
Defined at line 44 of file ../../src/developer/memory/monitor/monitor.h
void Monitor (async_dispatcher_t * dispatcher, memory_monitor_config::Config config, memory::CaptureMaker capture_maker, std::optional<fidl::Client<fuchsia_memorypressure::Provider>> pressure_provider, ImminentOomObserver * imminent_oom_observer, std::optional<fidl::Client<fuchsia_metrics::MetricEventLoggerFactory>> metric_event_logger_factory, std::optional<fidl::Client<fuchsia_hardware_ram_metrics::Device>> ram_device)
Defined at line 122 of file ../../src/developer/memory/monitor/monitor.cc
void CollectJsonStats (CollectJsonStatsRequest & request, CollectJsonStatsCompleter::Sync & completer)
Writes a memory capture and the bucket definition to |socket| in JSON,
in UTF-8.
See the fuchsia.memory.inspection FIDL library for a
description of the format of the JSON.
Defined at line 201 of file ../../src/developer/memory/monitor/monitor.cc
void CollectJsonStatsWithOptions (CollectJsonStatsWithOptionsRequest & request, CollectJsonStatsWithOptionsCompleter::Sync & completer)
Defined at line 208 of file ../../src/developer/memory/monitor/monitor.cc
void OnLevelChanged (OnLevelChangedRequest & request, OnLevelChangedCompleter::Sync & completer)
fuchsia_memorypressure::Watcher implementation; this callback gets called
whenever a memory pressure change is signaled.
Defined at line 537 of file ../../src/developer/memory/monitor/monitor.cc
Friends
class MonitorPressureTest
class MemoryBandwidthInspectTest