IVGCVSW-6249 Add ProfilingDetails Macros to all workloads in Ref, Neon, CL
* Add functionality to only output network details in ExNet
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I0c45e67193f308ce7b86f1bb1a918a266fefba2e
diff --git a/src/armnn/Profiling.hpp b/src/armnn/Profiling.hpp
index 372b489..42d7f4d 100644
--- a/src/armnn/Profiling.hpp
+++ b/src/armnn/Profiling.hpp
@@ -60,7 +60,7 @@
bool IsProfilingEnabled();
// Enables outputting the layer descriptors and infos to stdout
- void EnableNetworkDetailsToStdOut();
+ void EnableNetworkDetailsToStdOut(ProfilingDetailsMethod detailsMethod);
// Increments the event tag, allowing grouping of events in a user-defined manner (e.g. per inference).
void UpdateEventTag();
@@ -102,7 +102,8 @@
std::vector<EventPtr> m_EventSequence;
DescPtr m_ProfilingDetails = std::make_unique<ProfilingDetails>();
bool m_ProfilingEnabled;
- bool m_EnableDetailsToStdOut;
+ ProfilingDetailsMethod m_DetailsToStdOutMethod;
+
};
// Singleton profiler manager.