Boost logo

Boost Users :

Subject: Re: [Boost-users] A problem on using boost timer (different time intervals were showed). Can any one with kindness help me?
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2009-09-24 03:47:21


Roman Perepelitsa wrote:
> You didn't specify which operating system you are using, but I if it's
> not a real time OS, there is no guarantee that the same code will take
> the same time to execute on each run. For small programs (in terms of
> run time) the difference can be huge (easily an order of magnitude).

+ the fact that if no side effect occurs in the code, the compiler may
decide to not include the code in the xecutable at all.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net