ArmNN  NotReleased
armnnUtils::Processes Namespace Reference

Functions

int GetCurrentId ()
 

Function Documentation

◆ GetCurrentId()

int GetCurrentId ( )

Definition at line 20 of file Processes.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and SendCounterPacket::SendStreamMetaDataPacket().

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