| 77 | } |
| 78 | |
| 79 | static std::string Time() { |
| 80 | struct timeb tb; ftime(&tb); |
| 81 | |
| 82 | char time[26]; |
| 83 | size_t length = strftime(time, sizeof(time), "%Y-%m-%d %H:%M:%S:", |
| 84 | localtime(reinterpret_cast<const time_t*>(&tb.time))); |
| 85 | sprintf(time + length, "%03u ", tb.millitm); |
| 86 | |
| 87 | return time; |
| 88 | } |
| 89 | |
| 90 | private: |
| 91 |
nothing calls this directly
no outgoing calls
no test coverage detected