diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-10-22 11:07:45 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-10-25 16:07:45 +0000 |
commit | 830101c2debac8b3f22c048fad603f34b76bdca1 (patch) | |
tree | f398bcbd687503a79fcced3e34f0411f5864f94a /src/profiling/ProfilingGuid.hpp | |
parent | 48623a0f6f4681ce0d9525b1587b7f96bfd58519 (diff) | |
download | armnn-830101c2debac8b3f22c048fad603f34b76bdca1.tar.gz |
IVGCVSW-4022 Create a DeclareLabel utility function
* Created new TimelineUtilityMethods class
* Created the DeclareLabel utility methods inside the new class
* Added unit tests
Change-Id: Ife0f7853a556d48206b76baeb3934344a990bee9
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'src/profiling/ProfilingGuid.hpp')
-rw-r--r-- | src/profiling/ProfilingGuid.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/ProfilingGuid.hpp b/src/profiling/ProfilingGuid.hpp index 84d2db7363..5deee11783 100644 --- a/src/profiling/ProfilingGuid.hpp +++ b/src/profiling/ProfilingGuid.hpp @@ -18,7 +18,7 @@ class ProfilingGuid public: ProfilingGuid(uint64_t guid) : m_Guid(guid) {} - operator uint64_t () const { return m_Guid; } + operator uint64_t() const { return m_Guid; } bool operator==(const ProfilingGuid& other) const { @@ -27,7 +27,7 @@ public: bool operator!=(const ProfilingGuid& other) const { - return !(*this == other); + return m_Guid != other.m_Guid; } bool operator<(const ProfilingGuid& other) const |