Hi,<br><br>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.<br><br>start=gettickcount() ;<br>{<br>
code<br>}<br>end=gettickcount();<br>time=end-start();<br><br>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.<br>
<br>   Is there any way to measure exact execution time in c.Which will not change every time, when I run the program.?<br><br><br><br>Thanks<br> <br>