Boost logo

Boost Users :

From: gigu74 (gigu74_at_[hidden])
Date: 2002-01-07 10:48:34


hello hackers

first a hi to everyone. just signed today as a new member to this
mailinglist.

well.. i've got a problem and hope someone can help me. i run a c++
program (mostly on a sunblade 100 or a sunblade 1000) about genetic
algorithms which takes quite some time to solve for certain problems
(up to 100 hours)

because its important to me to compare different jobs i need to
measure the elapsed cpu time used for the particular jobs. well, i
could use the standart system time, but because my running job is not
always the only one i dont get really worthy results.
so i used the std::clock(). but measuring 1/1000000 of a seconds with
that and with the clock_t beeing a long int of course this results in
a overflow after around 36 minutes.
thought to find something about that in the boost library but
timer.hpp just gets also de maximum elapsed time out.. doesnt really
help

is there some way this can be achieved?
would be really neat to get an answer from anyone soon. thanks

uf


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