|
From: <au...@gm...> - 2006-06-26 09:10:44
|
Hi, > Does anyone have a relatively simple method for timing how long > a particular sort takes? I would like to be able to measure > in minutes, seconds and hundredths of seconds. You can simply use time() function from <ctime> to get time before and after sort. Then you can simply find a difference between them using difftime(). -- Aurimas |