[mpich-discuss] Program execution time:

jayesh at mcs.anl.gov jayesh at mcs.anl.gov
Mon May 17 08:29:04 CDT 2010


Hi,
 Any reason you don't want to use MPI_Wtime() ? Can you send us a test program ?

Regards,
Jayesh
----- Original Message -----
From: "sankar s" <keanesankar at gmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Saturday, May 15, 2010 7:22:38 AM GMT -06:00 US/Canada Central
Subject: [mpich-discuss] Program execution time:


Hi, 

I have developed a simulation program in c using MPI. I am using gettickcount() function to find time taken in each core for executing this program in a core2 duo processor. 

start=gettickcount() ; 
{ 
code 
} 
end=gettickcount(); 
time=end-start(); 

Its working properly but each time when I ran this code, its giving different execution times. its happening for my sequential code without MPI also. I am using Windows vista, DELL core 2 duo processor. 

Is there any way to measure exact execution time in c.Which will not change every time, when I run the program.? 



Thanks 


_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list