I am running a parallelized nested for-loop on two cores. So, half the for-loop is on one core and the other half is on the other. I want to record each iteration of the loops based on which cpu core it was run on. Is there a function to determine which cpu core a function is running?