| 259 | static uint64_t g_cclients = 0; |
| 260 | |
| 261 | long long ustime(void) { |
| 262 | struct timeval tv; |
| 263 | long long ust; |
| 264 | |
| 265 | gettimeofday(&tv, NULL); |
| 266 | ust = ((long long)tv.tv_sec)*1000000; |
| 267 | ust += tv.tv_usec; |
| 268 | return ust; |
| 269 | } |
| 270 | |
| 271 | void event_client_change_handler(struct RedisModuleCtx *ctx, RedisModuleEvent eid, uint64_t subevent, void *data) { |
| 272 | if (eid.id != REDISMODULE_EVENT_CLIENT_CHANGE) |
no outgoing calls
no test coverage detected