MCPcopy Create free account
hub / github.com/ARM-software/armnn / ResolvePacketVersion

Method ResolvePacketVersion

profiling/common/src/PacketVersionResolver.cpp:53–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53Version PacketVersionResolver::ResolvePacketVersion(uint32_t familyId, uint32_t packetId) const
54{
55 const PacketKey packetKey(familyId, packetId);
56
57 if( packetKey == ActivateTimeLinePacket )
58 {
59 return Version(1, 1, 0);
60 }
61 if( packetKey == DeactivateTimeLinePacket )
62 {
63 return Version(1, 1, 0);
64 }
65
66 return Version(1, 0, 0);
67}
68
69} // namespace pipe
70

Callers 9

HandleCommandsMethod · 0.80
ProfilingServiceMethod · 0.80
TimelineTests.cppFile · 0.80
ProfilingTests.cppFile · 0.80
HandlePacketMethod · 0.80
GatordMockServiceMethod · 0.80
ReceiveLoopMethod · 0.80

Calls 1

VersionClass · 0.85

Tested by 1

HandlePacketMethod · 0.64