20.11
|
#include <armnn/Types.hpp>
#include "LabelsAndEventClasses.hpp"
#include "ProfilingGuidGenerator.hpp"
#include <set>
#include <boost/test/unit_test.hpp>
#include <fmt/format.h>
#include <thread>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (GuidTest) | |
BOOST_AUTO_TEST_CASE (StaticGuidTest) | |
BOOST_AUTO_TEST_CASE (DynamicGuidTest) | |
void | CheckStaticGuid (uint64_t guid, uint64_t expectedGuid) |
void | CheckDynamicGuid (uint64_t guid, uint64_t expectedGuid) |
BOOST_AUTO_TEST_CASE (StaticGuidGeneratorCollisionTest) | |
BOOST_AUTO_TEST_CASE (StaticGuidGeneratorTest) | |
BOOST_AUTO_TEST_CASE (DynamicGuidGeneratorTest) | |
BOOST_AUTO_TEST_CASE (ProfilingGuidThreadTest) | |
BOOST_AUTO_TEST_CASE | ( | GuidTest | ) |
Definition at line 21 of file ProfilingGuidTest.cpp.
BOOST_AUTO_TEST_CASE | ( | StaticGuidTest | ) |
Definition at line 37 of file ProfilingGuidTest.cpp.
BOOST_AUTO_TEST_CASE | ( | DynamicGuidTest | ) |
Definition at line 53 of file ProfilingGuidTest.cpp.
BOOST_AUTO_TEST_CASE | ( | StaticGuidGeneratorCollisionTest | ) |
Definition at line 81 of file ProfilingGuidTest.cpp.
References ProfilingGuidGenerator::GenerateStaticId().
BOOST_AUTO_TEST_CASE | ( | StaticGuidGeneratorTest | ) |
Definition at line 110 of file ProfilingGuidTest.cpp.
References CheckStaticGuid(), ProfilingGuidGenerator::GenerateStaticId(), LabelsAndEventClasses::INDEX_GUID, LabelsAndEventClasses::NAME_GUID, and LabelsAndEventClasses::TYPE_GUID.
BOOST_AUTO_TEST_CASE | ( | DynamicGuidGeneratorTest | ) |
Definition at line 127 of file ProfilingGuidTest.cpp.
References CheckDynamicGuid(), and ProfilingGuidGenerator::NextGuid().
BOOST_AUTO_TEST_CASE | ( | ProfilingGuidThreadTest | ) |
Definition at line 138 of file ProfilingGuidTest.cpp.
References BOOST_AUTO_TEST_SUITE_END(), and ProfilingGuidGenerator::NextGuid().
void CheckDynamicGuid | ( | uint64_t | guid, |
uint64_t | expectedGuid | ||
) |
Definition at line 75 of file ProfilingGuidTest.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
void CheckStaticGuid | ( | uint64_t | guid, |
uint64_t | expectedGuid | ||
) |
Definition at line 69 of file ProfilingGuidTest.cpp.
Referenced by BOOST_AUTO_TEST_CASE().