Returns total number of microseconds truncating any sub microsecond values
| 119 | } |
| 120 | //! Returns total number of microseconds truncating any sub microsecond values |
| 121 | BOOST_CXX14_CONSTEXPR tick_type total_microseconds() const |
| 122 | { |
| 123 | if (ticks_per_second() < 1000000) { |
| 124 | return ticks() * (static_cast<tick_type>(1000000) / ticks_per_second()); |
| 125 | } |
| 126 | return ticks() / (ticks_per_second() / static_cast<tick_type>(1000000)) ; |
| 127 | } |
| 128 | //! Returns count of fractional seconds at given resolution |
| 129 | BOOST_CXX14_CONSTEXPR fractional_seconds_type fractional_seconds() const |
| 130 | { |
nothing calls this directly
no test coverage detected