ArmNN
 21.05
Connection Class Reference

#include <TimelineModel.hpp>

Public Member Functions

 Connection (uint64_t guid, Entity *head, Entity *tail)
 
uint64_t GetGuid () const
 
const EntityGetHead () const
 
const EntityGetTail () const
 

Detailed Description

Definition at line 24 of file TimelineModel.hpp.

Constructor & Destructor Documentation

◆ Connection()

Connection ( uint64_t  guid,
Entity head,
Entity tail 
)
inline

Definition at line 27 of file TimelineModel.hpp.

27  :
28  m_Guid(guid), m_HeadEntity(head), m_TailEntity(tail)
29  {
30  if (head == nullptr)
31  {
32  std::stringstream ss;
33  ss << "connection [" << guid << "] head cannot be null";
34  throw arm::pipe::ProfilingException(ss.str());
35  }
36  if (tail == nullptr)
37  {
38  std::stringstream ss;
39  ss << "connection [" << guid << "] tail cannot be null";
40  throw arm::pipe::ProfilingException(ss.str());
41  }
42  }

Member Function Documentation

◆ GetGuid()

uint64_t GetGuid ( ) const
inline

Definition at line 44 of file TimelineModel.hpp.

Referenced by armnn::profiling::GetConnectionDescription().

44 {return m_Guid;}

◆ GetHead()

const Entity* GetHead ( ) const
inline

Definition at line 45 of file TimelineModel.hpp.

Referenced by armnn::profiling::GetConnectionDescription().

45 {return m_HeadEntity;}

◆ GetTail()

const Entity* GetTail ( ) const
inline

Definition at line 46 of file TimelineModel.hpp.

Referenced by armnn::profiling::GetConnectionDescription().

46 {return m_TailEntity;}

The documentation for this class was generated from the following file: