Umesh said:
i want to calculate the time required to execute a program. Also i
want to calcute the time remaining for the execution of the program.
how can i do that?
To calculate means to take some known facts, do some mathematical operations
on them and reach a numerical answer. IOW it is not the same as "measure".
Calculating execution time has always been difficult; with a modern desktop
system with virtual this and virtual that and L2 caches and advanced math
co-processors I would estimate the difficulty as somewhere between "don't
even try" and "impossible. I would doubt if there were even a handful of
people in the *world* who could do that and get a meaningful answer. And
those people work at Intel or AMD or some similar place. They are *not* the
people who used to write all these processor comparisons that used to be so
popular. I have seen good, competent people get answers that weren't even
in the ballpark. If you persist, the place to start would be an Intel site
or a site that provided the chip family you will be using.