Getting core id, physical id of running process
Hi All,
I need a help. I need to know:
1. the individual core id, physical id of a running process on multicore inside a program. The system file /proc/cpuinfo shows all the ids of all the processes. But I need to know runtime, what exact core id and physical id , the running process has.
2. On Intel Clovertown Quad Core processor, how to know runtime which processes are sharing L2 cache.
I shall be thankful to you for your helpful reply.
Thanks
Debraj De
|