40 void Print(std::ostream& outStream)
const;
51 using InstrumentPtr = std::unique_ptr<Instrument>;
53 template<
typename DescriptorType>
54 void AddLayerDetails(
const std::string& name,
55 const DescriptorType& desc,
57 const arm::pipe::ProfilingGuid guid);
60 const std::string& label,
61 std::vector<InstrumentPtr>&& instruments,
64 std::unique_ptr<ProfilerImpl> pProfilerImpl;
68 template<
typename DescriptorType>
70 const DescriptorType& desc,
72 const arm::pipe::ProfilingGuid guid);
Event class records measurements reported by BeginEvent()/EndEvent() and returns measurements when Ev...
friend size_t GetProfilerEventSequenceSize(armnn::IProfiler *profiler)
void EnableNetworkDetailsToStdOut(ProfilingDetailsMethod detailsMethod)
Print out details of each layer within the network that possesses a descriptor.
void Print(std::ostream &outStream) const
Print stats for events in JSON Format to the given output stream.
void AnalyzeEventsAndWriteResults(std::ostream &outStream) const
Analyzes the tracked events and writes the results to the given output stream.
Copyright (c) 2021 ARM Limited and Contributors.
ProfilingDetailsMethod
Define the behaviour of the internal profiler when outputting network details.
void EnableProfiling(bool enableProfiling)
Enables/disables profiling for this profiler.
bool IsProfilingEnabled()
Checks whether profiling is enabled.
Contains information about TensorInfos of a layer.
friend void ProfilingUpdateDescriptions(const std::string &name, const DescriptorType &desc, const WorkloadInfo &infos, const arm::pipe::ProfilingGuid guid)