class Bandwidth

Defined at line 20 of file ../../src/camera/bin/benchmark/bandwidth.h

Measures memory bandwidth consumption by the camera stack.

Public Methods

void Bandwidth (fuchsia::sysmem2::AllocatorHandle sysmem_allocator, fuchsia::camera3::DeviceWatcherHandle camera_device_watcher, fuchsia::hardware::ram::metrics::DeviceHandle metrics_device, async_dispatcher_t * dispatcher)

Defined at line 24 of file ../../src/camera/bin/benchmark/bandwidth.cc

void Profile (std::ostream & sink, fit::closure callback)

Profiles camera-relevant bandwidth channels for all configurations, writing the results to

|sink| in the fuchsia benchmark json format. Invokes |callback| when profiling has completed.

Defined at line 37 of file ../../src/camera/bin/benchmark/bandwidth.cc