diff options
author | Finn Williams <Finn.Williams@arm.com> | 2020-04-23 17:55:18 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-04-27 09:06:24 +0000 |
commit | d7fcafaaaa917db458be362060e1b7855cad8083 (patch) | |
tree | 534e2898f2a7dd39a22bca8a073b085d8a7b7f80 /src/timelineDecoder/TimelineDecoder.cpp | |
parent | 8e84398b8eb4b2a2a558803f4c6359f6b255d49f (diff) | |
download | armnn-d7fcafaaaa917db458be362060e1b7855cad8083.tar.gz |
IVGCVSW-4722 Add missing m_TimelineEnabled bool to ConnectionAcknowledgedCommandHandler
* Added timeline bool to ConnectionAcknowledgedCommandHandler
* Added option to enable timeline profiling in ExecuteNetwork
* Added CommandHandler stub to allow gatordMock to ignore packets
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I314f9411e0079cba8f103d3b8a89f2bf38bb21ab
Diffstat (limited to 'src/timelineDecoder/TimelineDecoder.cpp')
-rw-r--r-- | src/timelineDecoder/TimelineDecoder.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/timelineDecoder/TimelineDecoder.cpp b/src/timelineDecoder/TimelineDecoder.cpp index f7f4663530..9aa84d2084 100644 --- a/src/timelineDecoder/TimelineDecoder.cpp +++ b/src/timelineDecoder/TimelineDecoder.cpp @@ -151,6 +151,13 @@ void TimelineDecoder::SetDefaultCallbacks() void TimelineDecoder::print() { + if (m_Model.m_Labels.empty() && m_Model.m_Entities.empty() && m_Model.m_EventClasses.empty() && + m_Model.m_Events.empty() && m_Model.m_Relationships.empty()) + { + std::cout << "No timeline packets received" << std::endl; + return; + } + printLabels(); printEntities(); printEventClasses(); |