summaryrefslogtreecommitdiff
path: root/ACE/ace/Time_Value.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2008-06-05 14:55:13 +0000
committerSteve Huston <shuston@riverace.com>2008-06-05 14:55:13 +0000
commitbfa0d2a15a5f3077b0ad2b3f561cef49d6c90d94 (patch)
tree867a7d544e3388f11d38955dd5c9fd58c7ac9fe3 /ACE/ace/Time_Value.h
parent3ef4475e668a30304da7cbcc11d7a1affaeec6d6 (diff)
downloadATCD-bfa0d2a15a5f3077b0ad2b3f561cef49d6c90d94.tar.gz
ChangeLogTag:Thu Jun 5 14:52:43 UTC 2008 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/Time_Value.h')
-rw-r--r--ACE/ace/Time_Value.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/ACE/ace/Time_Value.h b/ACE/ace/Time_Value.h
index 8c294f943ab..cb54a0b4e05 100644
--- a/ACE/ace/Time_Value.h
+++ b/ACE/ace/Time_Value.h
@@ -119,7 +119,7 @@ public:
void set (const FILETIME &ft);
# endif /* ACE_WIN32 */
- /// Converts from ACE_Time_Value format into milli-seconds format.
+ /// Converts from ACE_Time_Value format into milliseconds format.
/**
* @return Sum of second field (in milliseconds) and microsecond field
* (in milliseconds). Note that this method can overflow if
@@ -132,6 +132,7 @@ public:
*/
unsigned long msec (void) const;
+ /// Converts from ACE_Time_Value format into milliseconds format.
/**
* @return Sum of second field (in milliseconds) and microsecond field
* (in milliseconds) and return them via the @param ms parameter.
@@ -142,6 +143,17 @@ public:
*/
void msec (ACE_UINT64 &ms) const;
+ /// Converts from ACE_Time_Value format into milliseconds format.
+ /**
+ * @return Sum of second field (in milliseconds) and microsecond field
+ * (in milliseconds) and return them via the @param ms parameter.
+ *
+ * @note The semantics of this method differs from the sec() and
+ * usec() methods. There is no analogous "millisecond"
+ * component in an ACE_Time_Value.
+ */
+ void msec (ACE_UINT64 &ms) /* const */;
+
/// Converts from milli-seconds format into ACE_Time_Value format.
/**
* @note The semantics of this method differs from the sec() and