MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / usec

Function usec

src/intset.c:356–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356static long long usec(void) {
357 struct timeval tv;
358 gettimeofday(&tv,NULL);
359 return (((long long)tv.tv_sec)*1000000)+tv.tv_usec;
360}
361
362static intset *createSet(int bits, int size) {
363 uint64_t mask = (1<<bits)-1;

Callers 1

intsetTestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected