Boost logo

Boost Users :

Subject: Re: [Boost-users] [Date_Time] representing simulation time
From: Igor R (boost.lists_at_[hidden])
Date: 2009-07-31 05:09:54


> One of our requirements is to be able to run simulations, and so we need a
> clock that can be stopped/started/accelerated.
> Is there a mechanism for this in Boost.Date_Time?

IIRC, DateTime doesn't have "mechanisms", but just a date-time
abstractions, i.e. data-types and methods. Although it's got a clock
that gives you current time, but it's just a high-level wrapper for
the relevant OS function.
Probably, you need something like boost::asio::deadline_timer ?


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