Merge pull request #6804 from qetu3790/unstable

Fix not used constant in lru_test_mode.
This commit is contained in:
Salvatore Sanfilippo 2020-03-02 17:43:36 +01:00 committed by GitHub
commit df8bc67c92

View File

@ -7737,7 +7737,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];