class UnownedComponent

Defined at line 19 of file ../../src/performance/experimental/profiler/unowned_component.h

A component that is to be profiled, but who's lifecycle is not controlled by the profiler

Public Methods

zx::result<std::unique_ptr<UnownedComponent>> Create (const std::optional<std::string> & moniker, const std::optional<std::string> & url, ComponentWatcher & component_watcher)

Defined at line 13 of file ../../src/performance/experimental/profiler/unowned_component.cc

void UnownedComponent (std::optional<std::string> url, std::optional<Moniker> moniker, ComponentWatcher & component_watcher)

An unowned component needs to be described by at least one of a moniker or url.

Defined at line 22 of file ../../src/performance/experimental/profiler/unowned_component.h

zx::result<> Start (fxl::WeakPtr<Sampler> notify)

Defined at line 54 of file ../../src/performance/experimental/profiler/unowned_component.cc

zx::result<> Stop ()

Defined at line 116 of file ../../src/performance/experimental/profiler/unowned_component.cc

zx::result<> Destroy ()

Defined at line 118 of file ../../src/performance/experimental/profiler/unowned_component.cc