Home
last modified time | relevance | path

Searched refs:ProtoType (Results 1 – 6 of 6) sorted by relevance

/developtools/profiler/device/plugins/ftrace_plugin/tools/
Dftrace_format_parser.py60 class ProtoType(object): class
75 if self.tid != ProtoType.INVALID:
76 if self.tid == ProtoType.STRING:
78 elif self.tid == ProtoType.BYTES:
80 elif self.tid == ProtoType.ARRAY:
82 elif self.tid == ProtoType.INTEGER:
113 return ProtoType(ProtoType.STRING)
116 return ProtoType.INVALID
148 if t is not ProtoType.INVALID:
152 return ProtoType(ProtoType.STRING)
[all …]
/developtools/profiler/host/smartperf/client/client_command/
Dsp_server_socket.cpp28 int SpServerSocket::Init(ProtoType type) in Init()
30 if (type == ProtoType::TCP) { in Init()
34 if (type == ProtoType::UDP) { in Init()
49 if (type == ProtoType::TCP) { in Init()
Dsmartperf_command.cpp34 std::thread tSocket(&SpThreadSocket::Process, tcpThreadSocket, ProtoType::TCP); in SmartPerfCommand()
35 std::thread tSocket1(&SpThreadSocket::Process, udpThreadSocket, ProtoType::UDP); in SmartPerfCommand()
/developtools/profiler/host/smartperf/client/client_command/include/
Dsp_server_socket.h21 enum class ProtoType { enum
30 int Init(ProtoType type);
Dsp_thread_socket.h49 void Process(ProtoType type) const in Process()
54 if (type == ProtoType::TCP) { in Process()
68 if (type == ProtoType::UDP) { in Process()
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/
Dftrace_cpp_generator.py23 from ftrace_format_parser import ProtoType
175 if type_info.tid == ProtoType.STRING:
177 elif type_info.tid == ProtoType.ARRAY:
179 elif type_info.tid == ProtoType.INTEGER:
187 elif type_info.tid != ProtoType.INVALID:
192 if type_info.tid == ProtoType.ARRAY: