ArmNN
 24.08
arm::pipe Namespace Reference

Typedefs

using ILocalPacketHandlerSharedPtr = std::shared_ptr< ILocalPacketHandler >
 

Functions

ProfilingOptions ConvertExternalProfilingOptions (const armnn::IRuntime::CreationOptions::ExternalProfilingOptions &options)
 

Typedef Documentation

◆ ILocalPacketHandlerSharedPtr

using ILocalPacketHandlerSharedPtr = std::shared_ptr<ILocalPacketHandler>

Definition at line 28 of file IRuntime.hpp.

Function Documentation

◆ ConvertExternalProfilingOptions()

ProfilingOptions ConvertExternalProfilingOptions ( const armnn::IRuntime::CreationOptions::ExternalProfilingOptions options)

Definition at line 17 of file ProfilingOptionsConverter.cpp.

19 {
20  ProfilingOptions convertedOptions;
21  convertedOptions.m_EnableProfiling = options.m_EnableProfiling;
22  convertedOptions.m_TimelineEnabled = options.m_TimelineEnabled;
23  convertedOptions.m_OutgoingCaptureFile = options.m_OutgoingCaptureFile;
24  convertedOptions.m_IncomingCaptureFile = options.m_IncomingCaptureFile;
25  convertedOptions.m_FileOnly = options.m_FileOnly;
26  convertedOptions.m_CapturePeriod = options.m_CapturePeriod;
27  convertedOptions.m_FileFormat = options.m_FileFormat;
28  std::copy(options.m_LocalPacketHandlers.begin(), options.m_LocalPacketHandlers.end(),
29  std::back_inserter(convertedOptions.m_LocalPacketHandlers));
30  return convertedOptions;
31 }

References IRuntime::CreationOptions::ExternalProfilingOptions::m_CapturePeriod, IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling, IRuntime::CreationOptions::ExternalProfilingOptions::m_FileFormat, IRuntime::CreationOptions::ExternalProfilingOptions::m_FileOnly, IRuntime::CreationOptions::ExternalProfilingOptions::m_IncomingCaptureFile, IRuntime::CreationOptions::ExternalProfilingOptions::m_LocalPacketHandlers, IRuntime::CreationOptions::ExternalProfilingOptions::m_OutgoingCaptureFile, and IRuntime::CreationOptions::ExternalProfilingOptions::m_TimelineEnabled.

Referenced by RuntimeImpl::RuntimeImpl().

armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_LocalPacketHandlers
std::vector< arm::pipe::ILocalPacketHandlerSharedPtr > m_LocalPacketHandlers
Definition: IRuntime.hpp:152
armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_FileOnly
bool m_FileOnly
Enable profiling output to file only.
Definition: IRuntime.hpp:147
armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_IncomingCaptureFile
std::string m_IncomingCaptureFile
Path to a file in which incoming timeline profiling messages will be stored.
Definition: IRuntime.hpp:145
armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_TimelineEnabled
bool m_TimelineEnabled
Indicates whether external timeline profiling is enabled or not.
Definition: IRuntime.hpp:141
armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_CapturePeriod
uint32_t m_CapturePeriod
The duration at which captured profiling messages will be flushed.
Definition: IRuntime.hpp:149
armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_FileFormat
std::string m_FileFormat
The format of the file used for outputting profiling data.
Definition: IRuntime.hpp:151
armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_OutgoingCaptureFile
std::string m_OutgoingCaptureFile
Path to a file in which outgoing timeline profiling messages will be stored.
Definition: IRuntime.hpp:143
armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling
bool m_EnableProfiling
Indicates whether external profiling is enabled or not.
Definition: IRuntime.hpp:139