timer in C++
-
I am using alarm() to time a process. Is there something with which i can measure by milliseconds ? The alarm() in C++ allows only seconds and not anything lesser than that. I did try ftime() and time(),But i need something to timeout automatically. I am using RH linux and g++ 3.2 Thanks
-
I am using alarm() to time a process. Is there something with which i can measure by milliseconds ? The alarm() in C++ allows only seconds and not anything lesser than that. I did try ftime() and time(),But i need something to timeout automatically. I am using RH linux and g++ 3.2 Thanks
Try
GetTickCount();
43 68 65 65 72 73 2c 4d 69 63 68 61 65 6c
-
Try
GetTickCount();
43 68 65 65 72 73 2c 4d 69 63 68 61 65 6c
I am doing it on Linux with a gcc compiler 3.2
-
I am doing it on Linux with a gcc compiler 3.2
Ups, I didn't notice.
43 68 65 65 72 73 2c 4d 69 63 68 61 65 6c
-
I am using alarm() to time a process. Is there something with which i can measure by milliseconds ? The alarm() in C++ allows only seconds and not anything lesser than that. I did try ftime() and time(),But i need something to timeout automatically. I am using RH linux and g++ 3.2 Thanks
try using signal() u can do anythin with it