mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
added mstime() to get UNIX time in milliseconds.
This commit is contained in:
@ -288,6 +288,11 @@ long long ustime(void) {
|
||||
return ust;
|
||||
}
|
||||
|
||||
/* Return the UNIX time in milliseconds */
|
||||
long long mstime(void) {
|
||||
return ustime()/1000;
|
||||
}
|
||||
|
||||
/*====================== Hash table type implementation ==================== */
|
||||
|
||||
/* This is an hash table type that uses the SDS dynamic strings libary as
|
||||
|
Reference in New Issue
Block a user