mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
* Fit constructor initializer on a single line
* Delete blank chars at end of line to fit into 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
86d341b204
commit
e196516fa7
@ -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
Block a user