Home
last modified time | relevance | path

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

/external/lz4/tests/
Dfullbench.c97 static int g_chunkSize = DEFAULT_CHUNKSIZE; variable
108 g_chunkSize = bsize; in BMK_setBlocksize()
109 DISPLAY("-Using Block Size of %i KB-\n", g_chunkSize>>10); in BMK_setBlocksize()
355 …chunkP = (struct chunkParameters*) malloc(((benchedSize / (size_t)g_chunkSize)+1) * sizeof(struct … in fullSpeedBench()
357 nbChunks = (int) ((benchedSize + (g_chunkSize-1)) / g_chunkSize); in fullSpeedBench()
358 maxCompressedChunkSize = LZ4_compressBound(g_chunkSize); in fullSpeedBench()
410 nbChunks = (int) (((int)benchedSize + (g_chunkSize-1))/ g_chunkSize); in fullSpeedBench()
413 chunkP[i].origBuffer = in; in += g_chunkSize; in fullSpeedBench()
414 …if ((int)remaining > g_chunkSize) { chunkP[i].origSize = g_chunkSize; remaining -= g_chunkSize; } … in fullSpeedBench()
495 nbChunks = (int) (((int)benchedSize + (g_chunkSize-1))/ g_chunkSize); in fullSpeedBench()
[all …]