* Fit constructor initializer on a single line
* Delete blank chars at end of line to fit into 80 cols llvm-svn: 17137
This commit is contained in:
parent
6a11a75f31
commit
fc62cd1a85
|
@ -85,8 +85,7 @@ namespace sys {
|
||||||
/// \p nanos argument defaults to zero for convenience.
|
/// \p nanos argument defaults to zero for convenience.
|
||||||
/// @brief Explicit constructor
|
/// @brief Explicit constructor
|
||||||
explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0)
|
explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0)
|
||||||
: seconds_( seconds )
|
: seconds_( seconds ), nanos_( nanos ) { this->normalize(); }
|
||||||
, nanos_( nanos ) { this->normalize(); }
|
|
||||||
|
|
||||||
/// Caller provides the exact value as a double in seconds with the
|
/// Caller provides the exact value as a double in seconds with the
|
||||||
/// fractional part representing nanoseconds.
|
/// fractional part representing nanoseconds.
|
||||||
|
@ -209,7 +208,7 @@ namespace sys {
|
||||||
return nanos_ / NANOSECONDS_PER_MICROSECOND;
|
return nanos_ / NANOSECONDS_PER_MICROSECOND;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns only the fractional portion of the TimeValue rounded down to the
|
/// Returns only the fractional portion of the TimeValue rounded down to the
|
||||||
/// nearest millisecond (divide by one million).
|
/// nearest millisecond (divide by one million).
|
||||||
/// @brief Retrieve the fractional part as milliseconds;
|
/// @brief Retrieve the fractional part as milliseconds;
|
||||||
uint32_t milliseconds( void ) const {
|
uint32_t milliseconds( void ) const {
|
||||||
|
|
Loading…
Reference in New Issue