I am using likwid-perfctr to get energy, run time and power measurements while running different programs. Now these programs are compiled using intel's icpc compiler and use cilk for multithreading. Inside the program I get the nworker count ( which is the process threads running )to be 32.
This command likwid-perfctr -c 0-31 -g ENERGY ./EXECUTABLE
on running gives me energy values on all the 32 cores ( 16 cores with two threads each). The output shows that only two cores are being utilized as only they show some energy values.
What might be the possible reason to this?