summaryrefslogtreecommitdiff
path: root/ACE/ace/Time_Value.h
diff options
context:
space:
mode:
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