| 138 | } |
| 139 | |
| 140 | TTimeLogger::~TTimeLogger() { |
| 141 | time_t tim = time(nullptr); |
| 142 | ui64 endCycles = GetCycleCount(); |
| 143 | if (Verbose) { |
| 144 | const char* prefix = (OK) ? "" : "!"; |
| 145 | fprintf(stderr, "%s%s ended: %.24s (%lu) (%d) (took %lus = %s)\n", |
| 146 | prefix, Message.data(), ctime(&tim), (unsigned long)tim, (int)getpid(), |
| 147 | (unsigned long)tim - (unsigned long)Begin, FormatCycles(endCycles - BeginCycles).data()); |
| 148 | fprintf(stderr, "%s=========================================================\n", prefix); |
| 149 | } |
| 150 | } |
nothing calls this directly
no test coverage detected