used to create a relative time from the systemtime when only systemtime is stored in Sysinternals DbgView files. the reverse (creating system-time from relative times) makes no sense.
| 37 | // used to create a relative time from the systemtime when only systemtime is stored in Sysinternals DbgView files. |
| 38 | // the reverse (creating system-time from relative times) makes no sense. |
| 39 | void DBLogReader::GetRelativeTime(Line& line) |
| 40 | { |
| 41 | if (line.time != 0.0) // if relative time is already filled in do nothing |
| 42 | return; |
| 43 | |
| 44 | if (m_linenumber == 1) |
| 45 | { |
| 46 | m_firstFiletime = line.systemTime; |
| 47 | return; |
| 48 | } |
| 49 | |
| 50 | line.time = GetDifference(m_firstFiletime, line.systemTime); |
| 51 | } |
| 52 | |
| 53 | void DBLogReader::AddLine(const std::string& data) |
| 54 | { |
nothing calls this directly
no test coverage detected