23.02
|
Go to the documentation of this file.
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);
void EnableProfiling(bool enableProfiling)
Enables/disables profiling for this profiler.
void AnalyzeEventsAndWriteResults(std::ostream &outStream) const
Analyzes the tracked events and writes the results to the given output stream.
bool IsProfilingEnabled()
Checks whether profiling is enabled.
Copyright (c) 2021 ARM Limited and Contributors.
Event class records measurements reported by BeginEvent()/EndEvent() and returns measurements when Ev...
void Print(std::ostream &outStream) const
Print stats for events in JSON Format to the given output stream.
friend void ProfilingUpdateDescriptions(const std::string &name, const DescriptorType &desc, const WorkloadInfo &infos, const arm::pipe::ProfilingGuid guid)
Contains information about TensorInfos of a layer.
void EnableNetworkDetailsToStdOut(ProfilingDetailsMethod detailsMethod)
Print out details of each layer within the network that possesses a descriptor.
ProfilingDetailsMethod
Define the behaviour of the internal profiler when outputting network details.
friend size_t GetProfilerEventSequenceSize(armnn::IProfiler *profiler)