I am using boost 1.46 which does not include boost::timer, What other way can I time my functions.
I am currently doing this:
time_t now = time(0);
<some stuff>
time_t after = time(0);
cout << after - now << endl;
but it just gives the answer in seconds, so if the function takes < 1s it displays 0.
Thanks