| 222 | CkptIntervalManager *CoordPluginMgr::ckptIntervalManager; |
| 223 | |
| 224 | char *get_ftime(char *buf, int size) { |
| 225 | time_t rawtime; |
| 226 | struct tm *timeinfo; |
| 227 | time(&rawtime); |
| 228 | timeinfo = localtime(&rawtime); |
| 229 | strftime(buf, size, "%Y-%m-%d %H:%M:%S", timeinfo); |
| 230 | return buf; |
| 231 | } |
| 232 | |
| 233 | // This handler will be called on exit(), or signal termination, |
| 234 | // but not if _exit() is called. |
no outgoing calls
no test coverage detected