get current core id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all..

Does anyone know if it is possible to get the ID of the core which is
executing code at a given point in a C++ program? I'm running code built
using gcc 4.4.1 on Ubuntu Koala 64-bit with an Intel core 2 quad and would
like to see whether external code calling a function in a shared library is
making use of multiple cores.

thanks!
-- 
View this message in context: http://old.nabble.com/get-current-core-id-tp28724562p28724562.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux