Dear list, I would like to convert ptime and time_duration to and from the standard timeval type. So that I can use all the operators available for ptime and time_duration I found that this topic has already been discussed here: http://lists.boost.org/Archives/boost/2003/06/49197.php The conclusion was: "" Ok will do. I'll add some protections or rounding for when durations support higher than microsecond resolution. I'll let you know when this gets added. Thx, Jeff "" This message was sent on 2003-06-23. I cannot find any thing related to timeval in the doc of boost 1.33. Did I miss something ? Also doc about xtime in boost.threads does not help that much... http://www.boost.org/doc/html/xtime.html cheers, -- thomas
On Sat, 07 Jan 2006 13:55:08 +0100, Thomas Lemaire wrote
Dear list,
I would like to convert ptime and time_duration to and from the standard timeval type. So that I can use all the operators available for ptime and time_duration I found that this topic has already been discussed here:
http://lists.boost.org/Archives/boost/2003/06/49197.php
The conclusion was: "" Ok will do. I'll add some protections or rounding for when durations support higher than microsecond resolution. I'll let you know when this gets added.
Thx,
Jeff ""
This message was sent on 2003-06-23. I cannot find any thing related to timeval in the doc of boost 1.33. Did I miss something ?
Also doc about xtime in boost.threads does not help that much... http://www.boost.org/doc/html/xtime.html
I'm afraid this feature has slipped thru the cracks. There was some code in the thread that you cite that should give you what you want... Sorry, Jeff
participants (2)
-
Jeff Garland
-
Thomas Lemaire