| 130 | } |
| 131 | |
| 132 | uint64_t GetTimestampMS() { |
| 133 | uint64_t u = 0; |
| 134 | struct timeval now; |
| 135 | gettimeofday(&now, NULL); |
| 136 | u += now.tv_sec; |
| 137 | u *= 1000; |
| 138 | u += now.tv_usec / 1000; |
| 139 | return u; |
| 140 | } |
| 141 | |
| 142 | void GetMysqlBufDebugString(const char * buf, int len, std::string & debug_str) { |
| 143 | debug_str = ""; |
no outgoing calls
no test coverage detected