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

Function GetProcessName

profiling/client/src/ProfilingUtils.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111std::string GetProcessName()
112{
113 std::ifstream comm("/proc/self/comm");
114 std::string name;
115 getline(comm, name);
116 return name;
117}
118
119/// Creates a timeline packet header
120///

Calls

no outgoing calls

Tested by 1