ArmNN
 21.08
armnnUtils::Processes Namespace Reference

Functions

int GetCurrentId ()
 

Function Documentation

◆ GetCurrentId()

int GetCurrentId ( )

Definition at line 19 of file Processes.cpp.

Referenced by LoadedNetwork::MakeLoadedNetwork(), SendCounterPacket::SendStreamMetaDataPacket(), TEST_SUITE(), and VerifyPostOptimisationStructureTestImpl().

20 {
21 #if defined(__unix__) || defined(__APPLE__)
22  return getpid();
23 #elif defined(_MSC_VER)
24  return ::GetCurrentProcessId();
25 #endif
26 }