mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
Fix not used constant in lru_test_mode.
LRU_CYCLE_PERIOD is defined,but not used.
This commit is contained in:
parent
7ef2270ee7
commit
bd60c11bd8
@ -7735,7 +7735,7 @@ static void LRUTestMode(void) {
|
|||||||
* to fill the target instance easily. */
|
* to fill the target instance easily. */
|
||||||
start_cycle = mstime();
|
start_cycle = mstime();
|
||||||
long long hits = 0, misses = 0;
|
long long hits = 0, misses = 0;
|
||||||
while(mstime() - start_cycle < 1000) {
|
while(mstime() - start_cycle < LRU_CYCLE_PERIOD) {
|
||||||
/* Write cycle. */
|
/* Write cycle. */
|
||||||
for (j = 0; j < LRU_CYCLE_PIPELINE_SIZE; j++) {
|
for (j = 0; j < LRU_CYCLE_PIPELINE_SIZE; j++) {
|
||||||
char val[6];
|
char val[6];
|
||||||
|
Loading…
Reference in New Issue
Block a user