Current time, microseconds since the epoch
| 110 | |
| 111 | // Current time, microseconds since the epoch |
| 112 | uint64_t now() { |
| 113 | int64_t ret; |
| 114 | struct timeval tv; |
| 115 | |
| 116 | THRIFT_GETTIMEOFDAY(&tv, nullptr); |
| 117 | ret = tv.tv_sec; |
| 118 | ret = ret * 1000 * 1000 + tv.tv_usec; |
| 119 | return ret; |
| 120 | } |
| 121 | |
| 122 | static void testString_clientReturn(event_base* base, |
| 123 | int testNr, |
no outgoing calls
no test coverage detected