Home
last modified time | relevance | path

Searched refs:avg_ttl (Results 1 – 4 of 4) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dexpire.c168 db->avg_ttl = 0; in activeExpireCycle()
207 long long avg_ttl = ttl_sum/ttl_samples; in activeExpireCycle() local
212 if (db->avg_ttl == 0) db->avg_ttl = avg_ttl; in activeExpireCycle()
213 db->avg_ttl = (db->avg_ttl/50)*49 + (avg_ttl/50); in activeExpireCycle()
H A Ddb.c1012 db1->avg_ttl = db2->avg_ttl; in dbSwapDatabases()
1016 db2->avg_ttl = aux.avg_ttl; in dbSwapDatabases()
H A Dserver.c2091 server.db[j].avg_ttl = 0; in initServer()
3676 j, keys, vkeys, server.db[j].avg_ttl); in genRedisInfoString()
H A Dserver.h646 long long avg_ttl; /* Average TTL, just for stats */ member