/freebsd-13-stable/sys/contrib/zstd/programs/ |
H A D | benchzstd.h | 78 * displayLevel - what gets printed: 98 int displayLevel); 132 int displayLevel, const BMK_advancedParams_t* adv); 139 * displayLevel - see benchFiles 154 int displayLevel, const BMK_advancedParams_t* adv); 173 * displayLevel - see BMK_benchFiles 189 int displayLevel, const char* displayName); 203 int displayLevel, const char* displayName,
|
H A D | dibio.c | 58 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } 63 #define DISPLAYUPDATE(l, ...) { if (displayLevel>=l) { \ 64 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (displayLevel>=4)) \ 66 if (displayLevel>=4) fflush(stderr); } } } 107 unsigned displayLevel) 238 static fileStats DiB_fileStats(const char** fileNamesTable, unsigned nbFiles, size_t chunkSize, unsigned displayLevel) argument 275 unsigned const displayLevel = params ? params->zParams.notificationLevel : local 280 fileStats const fs = DiB_fileStats(fileNamesTable, nbFiles, chunkSize, displayLevel); 317 DiB_loadFiles(srcBuffer, &loadedSize, sampleSizes, fs.nbSamples, fileNamesTable, nbFiles, chunkSize, displayLevel); 104 DiB_loadFiles(void* buffer, size_t* bufferSizePtr, size_t* sampleSizes, unsigned sstSize, const char** fileNamesTable, unsigned nbFiles, size_t targetChunkSize, unsigned displayLevel) argument
|
H A D | benchzstd.c | 71 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } 77 #define DISPLAYUPDATE(l, ...) { if (displayLevel>=l) { \ 78 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (displayLevel>=4)) \ 80 if (displayLevel>=4) fflush(stderr); } } } 314 int displayLevel, const char* displayName, 540 if (displayLevel == 1) { /* hidden display mode -q, used by python speed benchmark */ 562 int displayLevel, const char* displayName, const BMK_advancedParams_t* adv) 616 displayLevel, displayName, adv); 651 int displayLevel, const char* displayName) { 659 displayLevel, displayNam 299 BMK_benchMemAdvancedNoAlloc( const void** srcPtrs, size_t* srcSizes, void** cPtrs, size_t* cCapacities, size_t* cSizes, void** resPtrs, size_t* resSizes, void** resultBufferPtr, void* compressedBuffer, size_t maxCompressedSize, BMK_timedFnState_t* timeStateCompress, BMK_timedFnState_t* timeStateDecompress, const void* srcBuffer, size_t srcSize, const size_t* fileSizes, unsigned nbFiles, const int cLevel, const ZSTD_compressionParameters* comprParams, const void* dictBuffer, size_t dictBufferSize, ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, int displayLevel, const char* displayName, const BMK_advancedParams_t* adv) argument 557 BMK_benchMemAdvanced(const void* srcBuffer, size_t srcSize, void* dstBuffer, size_t dstCapacity, const size_t* fileSizes, unsigned nbFiles, int cLevel, const ZSTD_compressionParameters* comprParams, const void* dictBuffer, size_t dictBufferSize, int displayLevel, const char* displayName, const BMK_advancedParams_t* adv) argument 647 BMK_benchMem(const void* srcBuffer, size_t srcSize, const size_t* fileSizes, unsigned nbFiles, int cLevel, const ZSTD_compressionParameters* comprParams, const void* dictBuffer, size_t dictBufferSize, int displayLevel, const char* displayName) argument 662 BMK_benchCLevel(const void* srcBuffer, size_t benchedSize, const size_t* fileSizes, unsigned nbFiles, int cLevel, const ZSTD_compressionParameters* comprParams, const void* dictBuffer, size_t dictBufferSize, int displayLevel, const char* displayName, BMK_advancedParams_t const * const adv) argument 691 BMK_syntheticTest(int cLevel, double compressibility, const ZSTD_compressionParameters* compressionParams, int displayLevel, const BMK_advancedParams_t* adv) argument 748 BMK_loadFiles(void* buffer, size_t bufferSize, size_t* fileSizes, const char* const * fileNamesTable, unsigned nbFiles, int displayLevel) argument 784 BMK_benchFilesAdvanced( const char* const * fileNamesTable, unsigned nbFiles, const char* dictFileName, int cLevel, const ZSTD_compressionParameters* compressionParams, int displayLevel, const BMK_advancedParams_t* adv) argument 880 BMK_benchFiles( const char* const * fileNamesTable, unsigned nbFiles, const char* dictFileName, int cLevel, const ZSTD_compressionParameters* compressionParams, int displayLevel) argument [all...] |
H A D | fileio.c | 82 int displayLevel; /* 0 : no display; 1: errors; 2: + result + interaction + warnings; 3: + progression; 4: + information */ member in struct:FIO_display_prefs_s 90 #define DISPLAYLEVEL(l, ...) { if (g_display_prefs.displayLevel>=l) { DISPLAY(__VA_ARGS__); } } 98 if (g_display_prefs.displayLevel>=l && !g_display_prefs.noProgress) { \ 99 if (READY_FOR_UPDATE() || (g_display_prefs.displayLevel>=4)) { \ 102 if (g_display_prefs.displayLevel>=4) fflush(stderr); \ 415 void FIO_setNotificationLevel(int level) { g_display_prefs.displayLevel=level; } 664 if (g_display_prefs.displayLevel <= 1) { 856 if (g_display_prefs.displayLevel <= displayLevelCutoff) { 873 error = g_display_prefs.displayLevel > displayLevelCutoff && UTIL_requireUserConfirmation("This is a destructive operation. Proceed? (y/n): ", "Aborting...", "yY", fCtx->hasStdinInput); 1356 if (g_display_prefs.displayLevel > 2934 displayInfo(const char* inFileName, const fileInfo_t* info, int displayLevel) argument 2994 FIO_listFile(fileInfo_t* total, const char* inFileName, int displayLevel) argument 3028 FIO_listMultipleFiles(unsigned numFiles, const char** filenameTable, int displayLevel) argument [all...] |
H A D | fileio.h | 128 int FIO_listMultipleFiles(unsigned numFiles, const char** filenameTable, int displayLevel);
|
/freebsd-13-stable/sys/contrib/zstd/lib/dictBuilder/ |
H A D | fastcover.c | 55 #define LOCALDISPLAYLEVEL(displayLevel, l, ...) \ 56 if (displayLevel >= l) { \ 67 #define LOCALDISPLAYUPDATE(displayLevel, l, ...) \ 68 if (displayLevel >= l) { \ 69 if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) { \ 634 const int displayLevel = parameters->zParams.notificationLevel; local 643 LOCALDISPLAYLEVEL(displayLevel, 1, "Incorrect splitPoint\n"); 647 LOCALDISPLAYLEVEL(displayLevel, 1, "Incorrect accel\n"); 651 LOCALDISPLAYLEVEL(displayLevel, 1, "Incorrect k\n"); 655 LOCALDISPLAYLEVEL(displayLevel, [all...] |
H A D | cover.c | 58 #define LOCALDISPLAYLEVEL(displayLevel, l, ...) \ 59 if (displayLevel >= l) { \ 70 #define LOCALDISPLAYUPDATE(displayLevel, l, ...) \ 71 if (displayLevel >= l) { \ 72 if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) { \ 639 void COVER_warnOnSmallCorpus(size_t maxDictSize, size_t nbDmers, int displayLevel) argument 645 LOCALDISPLAYLEVEL(displayLevel, 1, 1129 const int displayLevel = parameters->zParams.notificationLevel; local 1139 LOCALDISPLAYLEVEL(displayLevel, 1, "Incorrect parameters\n"); 1143 LOCALDISPLAYLEVEL(displayLevel, [all...] |
H A D | cover.h | 87 void COVER_warnOnSmallCorpus(size_t maxDictSize, size_t nbDmers, int displayLevel);
|