class TestComponent
Defined at line 20 of file ../../src/performance/experimental/profiler/test_component.h
Public Methods
zx::result<std::unique_ptr<TestComponent>> Create (async_dispatcher_t * dispatcher, std::string url, std::optional<fuchsia_test_manager::RunSuiteOptions> options, ComponentWatcher & event_stream)
To profile a test, we're going to:
1) Request test_manager launch the test for us
2) Watch the root job for the url of the test we launched
3) Attach to the url when it shows up
There doesn't seem to be a way to query test_manager for a handle/koid of the launched test nor a
way to get the dynamically assigned moniker of the launched test so we're stuck with a slight
work around to watch for the url.
Defined at line 20 of file ../../src/performance/experimental/profiler/test_component.cc
void TestComponent (async_dispatcher_t * dispatcher, std::string url, std::optional<fuchsia_test_manager::RunSuiteOptions> options, ComponentWatcher & component_watcher)
Defined at line 25 of file ../../src/performance/experimental/profiler/test_component.h
void TestComponent (TestComponent && )
Defined at line 32 of file ../../src/performance/experimental/profiler/test_component.h
void TestComponent (const TestComponent & )
Defined at line 33 of file ../../src/performance/experimental/profiler/test_component.h
zx::result<> Start (fxl::WeakPtr<Sampler> notify)
Defined at line 34 of file ../../src/performance/experimental/profiler/test_component.cc
zx::result<> Stop ()
Defined at line 92 of file ../../src/performance/experimental/profiler/test_component.cc
zx::result<> Destroy ()
Defined at line 105 of file ../../src/performance/experimental/profiler/test_component.cc