Unverified Commit bd60c11b authored by qetu3790's avatar qetu3790 Committed by GitHub
Browse files

Fix not used constant in lru_test_mode.

LRU_CYCLE_PERIOD is defined,but not used.
parent 7ef2270e
......@@ -7735,7 +7735,7 @@ static void LRUTestMode(void) {
* to fill the target instance easily. */
start_cycle = mstime();
long long hits = 0, misses = 0;
while(mstime() - start_cycle < 1000) {
while(mstime() - start_cycle < LRU_CYCLE_PERIOD) {
/* Write cycle. */
for (j = 0; j < LRU_CYCLE_PIPELINE_SIZE; j++) {
char val[6];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment