The TimeStamp class provides timestamp information with microsecond precision. More...
| TimeStamp(qint64 s = 0, qint64 usec = 0) | |
| qint64 | microSeconds() const |
| qint64 | seconds() const |
| QCanBusFrame::TimeStamp | fromMicroSeconds(qint64 usec) |
[constexpr noexcept] TimeStamp::TimeStamp(qint64 s = 0, qint64 usec = 0)Constructs a TimeStamp in seconds, s, and microseconds, usec.
Note: The TimeStamp is not normalized, i.e. microseconds greater 1000000 are not converted to seconds.
[static constexpr noexcept] QCanBusFrame::TimeStamp
TimeStamp::fromMicroSeconds(qint64 usec)Constructs a normalized TimeStamp from microseconds usec.
The created TimeStamp is normalized, i.e. microseconds greater 1000000 are converted to seconds.
[constexpr noexcept] qint64 TimeStamp::microSeconds() constReturns the microseconds of the timestamp.
[constexpr noexcept] qint64 TimeStamp::seconds() constReturns the seconds of the timestamp.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: