mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-11 06:06:52 +00:00
* 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
ce514b1c2c
commit
fd9bef227a
@ -85,8 +85,7 @@ namespace sys {
|
||||
/// \p nanos argument defaults to zero for convenience.
|
||||
/// @brief Explicit constructor
|
||||
explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0)
|
||||
: seconds_( seconds )
|
||||
, nanos_( nanos ) { this->normalize(); }
|
||||
: seconds_( seconds ), nanos_( nanos ) { this->normalize(); }
|
||||
|
||||
/// Caller provides the exact value as a double in seconds with the
|
||||
/// fractional part representing nanoseconds.
|
||||
@ -209,7 +208,7 @@ namespace sys {
|
||||
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).
|
||||
/// @brief Retrieve the fractional part as milliseconds;
|
||||
uint32_t milliseconds( void ) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user