You are not logged in.

#1 2010-04-29 21:32:29

tjpp
Member
Registered: 2009-09-13
Posts: 9

cpu time for multicore processors

I run some benchtests for different processors and use time for collecting data as

(time ./code &) > machine.out 2>&1

The problem is the time command sums the cpu times of each core (or double for ht-enabled processors). Since I compile some of these codes using -parallel option of icc, I have quite unreal results: user time is larger than real time. Of course, I can get the correct cpu time by dividing the user time by the number of cores, but I have to do it manually and remembering how many processors each machine has. Is there any application that would provide me the real cpu time by core ?

Offline

Board footer

Powered by FluxBB