2010/3/10 zbierak <zbierak@gmail.com>
While on my windows machine it displays the correct time, when I compile it
on Ubuntu, it constantly displays zero seconds, regardless how long the job
really takes. Do you have any ideas why that might be happening? I'm using
boost 1.40 and Ubuntu 9.04. Thanx in advance!

boost::timer uses function clock to measure time. On linux clock returns CPU time, while on windows it returns wall time. You program probably does not consume CPU, that's why you get zero results on linux.

Roman Perepelitsa.