$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Periodic Timer
From: Igor R (boost.lists_at_[hidden])
Date: 2008-09-10 07:12:09
> Also, wouldn't the function call itself have an overhead? If yes, is there a
> way to get around it ?
>
Well, there exists some overhead at each "iteration", but if you've
got a fixed reference-time, these overheads wouldn't accumulate, so
after 2 or 1000 iterations you'd have about the same deviation.
As for the deviation itself, you just have to try and evaluate it with
your compiler/machine...