| 82 | double Timestamp::getFloatTime() const { return double(m_secs) + double(m_usecs) / 1000000.0; } |
| 83 | |
| 84 | std::string Timestamp::getStringTime() const { |
| 85 | char buf[32]; |
| 86 | sprintf(buf, "%.6lf", this->getFloatTime()); |
| 87 | return std::string(buf); |
| 88 | } |
| 89 | |
| 90 | double Timestamp::operator-(const Timestamp& t) const { return this->getFloatTime() - t.getFloatTime(); } |
| 91 |
nothing calls this directly
no test coverage detected