hi there,
i m trying to figure out how to use the h/w peformance monitoring counters?? like pfmon sort of tools ....
i have got intel procesor ,and linux OS . i want to find how to use the h/w counters for finding the cache hit, cache accesses etc. type of other info regarding some application program ...
can anyone help how to use the tools, where to get them and which is the best tool?
User Profile
Collapse
-
how to use h/w performance counter tools?
-
how good is gprof ?
hi all ,
i want to find out how accurate is the result of gprof ? i want to find the optimized version of my program takes how much time and unoptimized takes how mch? i have tried gettimeofday(), clock() and other such functions ...but i was not getting proper consistent answer always ....
also my code is quite small so that i want to trace its runtime which is in microseconds hence i need some way to measure its exectuion time at... -
sorry...i m not able to get consistent timings with this method too...is tprof suitable for it?? -
thanks ..i want to know one more thing..how to find the time taken to execute some task....i have tried timofday() ..but the result keeps varying..i want the exact execution time with great accuracyLeave a comment:
-
thanks but even this solution is not working ..as i m not having IBM ....can u suggest something else??Leave a comment:
-
how to call compiler from C program itself?
hi
i want to know how to invoke the gcc compiler to compile filex , from within some " y" C program . also later i want to execute that exe generated . and also find the time it took to compile and run "x" file....
is it possible? how?
thanks in advance -
accuratly timing the execution of a executable file in linux
hi all , i have tried using "time cmd" in linux to find out the time taken to execute some command in linux ...but the problem is that it always returns some different values for all the system,real and user times !!! so can anyone suggest any accurate method of finding the time to execute some a.out file??
No activity results to display
Show More
Leave a comment: