• Home
  • Raw
  • Download

Lines Matching refs:benchedSize

398 static void BMK_benchCLevel(void* srcBuffer, size_t benchedSize,  in BMK_benchCLevel()  argument
411 …onds, %u KB blocks\n", LZ4_VERSION_STRING, LZ4_GIT_COMMIT_STRING, (U32)benchedSize, g_nbSeconds, (… in BMK_benchCLevel()
416 BMK_benchMem(srcBuffer, benchedSize, in BMK_benchCLevel()
462 size_t benchedSize; in BMK_benchFileTable() local
470 benchedSize = BMK_findMaxMem(totalSizeToLoad * 3) / 3; in BMK_benchFileTable()
471 if (benchedSize==0) EXM_THROW(12, "not enough memory"); in BMK_benchFileTable()
472 if ((U64)benchedSize > totalSizeToLoad) benchedSize = (size_t)totalSizeToLoad; in BMK_benchFileTable()
473 if (benchedSize > LZ4_MAX_INPUT_SIZE) { in BMK_benchFileTable()
474 benchedSize = LZ4_MAX_INPUT_SIZE; in BMK_benchFileTable()
475 …LAY("File(s) bigger than LZ4's max input size; testing %u MB only...\n", (U32)(benchedSize >> 20)); in BMK_benchFileTable()
477 if (benchedSize < totalSizeToLoad) in BMK_benchFileTable()
478 DISPLAY("Not enough memory; testing %u MB only...\n", (U32)(benchedSize >> 20)); in BMK_benchFileTable()
480 srcBuffer = malloc(benchedSize + !benchedSize); /* avoid alloc of zero */ in BMK_benchFileTable()
484 BMK_loadFiles(srcBuffer, benchedSize, fileSizes, fileNamesTable, nbFiles); in BMK_benchFileTable()
489 BMK_benchCLevel(srcBuffer, benchedSize, in BMK_benchFileTable()
503 size_t benchedSize = 10000000; in BMK_syntheticTest() local
504 void* const srcBuffer = malloc(benchedSize); in BMK_syntheticTest()
510 RDG_genBuffer(srcBuffer, benchedSize, compressibility, 0.0, 0); in BMK_syntheticTest()
514 BMK_benchCLevel(srcBuffer, benchedSize, name, cLevel, cLevelLast, &benchedSize, 1); in BMK_syntheticTest()