Boost logo

Boost Users :

From: Donato Petrino (DPetrino_at_[hidden])
Date: 2005-01-20 03:22:01


Hello,

2 questions regarding the microsec_clock:

- Why it just have 'local_time()' but not 'universal_time()' member?
  (Analogous to the second_clock. I know that it can be converted to UTC,
but
  its inefficient and I have to know in which time zone the program runs.)

- For what reason "::std::time(&t)" in "microsec_time_clock.hpp:58" is
called?
  gettimeofday()'s "tv->tv_sec" already has the sec's since 1.1.1970, so
there
  is no need for this extra call. Is it a bug?

Thank you in advance!

-- 
Donato Petrino
Petrino EDV-Beratung
Darmstädter Str. 29
64331 Weiterstadt
T +49 6150 5418-11
F +49 6150 5418-18
email: dpetrino_at_[hidden]



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