DumpMeshDeviceProfileResults

void tt::tt_metal::DumpMeshDeviceProfileResults(distributed::MeshDevice &mesh_device, ProfilerDumpState state = ProfilerDumpState::NORMAL, const std::optional<ProfilerOptionalMetadata> &metadata = {})

Read device side profiler data for all devices in the mesh device and dump results into device side CSV log

This function only works in PROFILER builds. Please refer to the “Device Program Profiler” section for more information.

Return value: void

Argument

Description

Type

Valid Range

Required

mesh_device

The mesh device containing the devices to be profiled

MeshDevice&

Yes

state

The dump state to use for this profiler dump

ProfilerDumpState

No

metadata

Metadata to include in the profiler results

ProfilerOptionalMetadata

No