Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/programs/
H A Ddibio.c58 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
169 DISPLAYLEVEL(2, "\r%79s\r", ""); in DiB_loadFiles()
170 DISPLAYLEVEL(4, "Loaded %d KB total training data, %d nb samples \n", in DiB_loadFiles()
279 DISPLAYLEVEL(3, "Sample file '%s' has zero size, skipping...\n", fileNamesTable[n]); in DiB_fileStats()
297 DISPLAYLEVEL(3, "Sample file '%s' is too large, limiting to %d KB", in DiB_fileStats()
304DISPLAYLEVEL(4, "Found training data %d files, %d KB, %d samples\n", nbFiles, (int)(fs.totalSizeTo… in DiB_fileStats()
328 DISPLAYLEVEL(3, "Shuffling input files\n"); in DiB_trainFromFiles()
344DISPLAYLEVEL(2, "! Warning : setting manual memory limit for dictionary training data at %u MB \n… in DiB_trainFromFiles()
356 DISPLAYLEVEL(2, "! Warning : some sample(s) are very large \n"); in DiB_trainFromFiles()
357 DISPLAYLEVEL(2, "! Note that dictionary is only useful for small samples. \n"); in DiB_trainFromFiles()
[all …]
H A Dfileio.c103 #define DISPLAYLEVEL(l, ...) { if (g_display_prefs.displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro
124 DISPLAYLEVEL(1, "zstd: "); \
125 DISPLAYLEVEL(5, "Error defined at %s, line %i : \n", __FILE__, __LINE__); \
126 DISPLAYLEVEL(1, "error %i : ", error); \
127 DISPLAYLEVEL(1, __VA_ARGS__); \
128 DISPLAYLEVEL(1, " \n"); \
135 DISPLAYLEVEL(5, "%s \n", #f); \
458 if (nbWorkers > 0) DISPLAYLEVEL(2, "Note : multi-threading is disabled \n"); in FIO_setNbWorkers()
469 DISPLAYLEVEL(2, "Setting block size is useless in single-thread mode \n"); in FIO_setBlockSize()
475 DISPLAYLEVEL(2, "Setting overlapLog is useless in single-thread mode \n"); in FIO_setOverlapLog()
[all …]
H A Dzstdcli.c105 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro
118 DISPLAYLEVEL(1, "Error : incorrect library version (expecting : %s ; actual : %s ) \n", in checkLibVersion()
120 DISPLAYLEVEL(1, "Please update library to version %s, or use stand-alone zstd binary \n", in checkLibVersion()
279 DISPLAYLEVEL(1, "Incorrect parameters \n"); in badusage()
471DISPLAYLEVEL(4, "cover: k=%u\nd=%u\nsteps=%u\nsplit=%u\nshrink%u\n", params->k, params->d, params-… in parseCoverParameters()
511DISPLAYLEVEL(4, "cover: k=%u\nd=%u\nf=%u\nsteps=%u\nsplit=%u\naccel=%u\nshrink=%u\n", params->k, p… in parseFastCoverParameters()
526 DISPLAYLEVEL(4, "legacy: selectivity=%u\n", *selectivity); in parseLegacyParameters()
570 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseAdaptParameters()
575 DISPLAYLEVEL(4, "incoherent adaptation limits \n"); in parseAdaptParameters()
602 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseCompressionParameters()
[all …]
H A Dbenchzstd.c76 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
92 DISPLAYLEVEL(1, "Error %i : ", errorNum); \
93 DISPLAYLEVEL(1, __VA_ARGS__); \
94 DISPLAYLEVEL(1, " \n"); \
114 DISPLAYLEVEL(1, "Error %i : ", errorNum); \
115 DISPLAYLEVEL(1, __VA_ARGS__); \
116 DISPLAYLEVEL(1, " \n"); \
674 DISPLAYLEVEL(2, "Note : switching to real-time priority \n"); in BMK_benchCLevel()
758 DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]); in BMK_loadFiles()
763 DISPLAYLEVEL(2, "Cannot evaluate size of %s, ignoring ... \n", fileNamesTable[n]); in BMK_loadFiles()
[all …]
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c78 #undef DISPLAYLEVEL
79 #define DISPLAYLEVEL(l, ...) if (notificationLevel>=l) { DISPLAY(__VA_ARGS__); } /* 0 : no displ… macro
309 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos()
310DISPLAYLEVEL(4, "found %3u matches of length >= %i at pos %7u ", (unsigned)(end-start), MINMATCHL… in ZDICT_analyzePos()
311 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos()
391 DISPLAYLEVEL(4, "Selected dict at position %u, of length %u : saves %u (ratio: %.2f) \n", in ZDICT_analyzePos()
565 DISPLAYLEVEL(2, "\r%70s\r", ""); /* clean display line */ in ZDICT_trainBuffer_legacy()
574 …if (bufferSize > ZDICT_MAX_SAMPLES_SIZE) DISPLAYLEVEL(3, "sample set too large : reduced to %u MB … in ZDICT_trainBuffer_legacy()
578DISPLAYLEVEL(2, "sorting %u files of total size %u MB ...\n", nbFiles, (unsigned)(bufferSize>>20)); in ZDICT_trainBuffer_legacy()
595 DISPLAYLEVEL(2, "finding patterns ... \n"); in ZDICT_trainBuffer_legacy()
[all …]
H A Dfastcover.c67 #undef DISPLAYLEVEL
68 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__) macro
330 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n", in FASTCOVER_ctx_init()
337 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid\n", nbTrainSamples); in FASTCOVER_ctx_init()
343 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.\n", nbTestSamples); in FASTCOVER_ctx_init()
349 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, in FASTCOVER_ctx_init()
351 DISPLAYLEVEL(2, "Testing on %u samples of total size %u\n", nbTestSamples, in FASTCOVER_ctx_init()
367 DISPLAYLEVEL(1, "Failed to allocate scratch buffers \n"); in FASTCOVER_ctx_init()
384 DISPLAYLEVEL(1, "Failed to allocate frequency table \n"); in FASTCOVER_ctx_init()
389 DISPLAYLEVEL(2, "Computing frequencies\n"); in FASTCOVER_ctx_init()
[all …]
H A Dcover.c70 #undef DISPLAYLEVEL
71 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__) macro
562 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n", in COVER_ctx_init()
568 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid.", nbTrainSamples); in COVER_ctx_init()
573 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.", nbTestSamples); in COVER_ctx_init()
578 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, in COVER_ctx_init()
580 DISPLAYLEVEL(2, "Testing on %u samples of total size %u\n", nbTestSamples, in COVER_ctx_init()
595 DISPLAYLEVEL(1, "Failed to allocate scratch buffers\n"); in COVER_ctx_init()
610 DISPLAYLEVEL(2, "Constructing partial suffix array\n"); in COVER_ctx_init()
632 DISPLAYLEVEL(2, "Computing frequencies\n"); in COVER_ctx_init()
[all …]
/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c76 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
98 DISPLAYLEVEL(1, "Error %i : ", error); \
99 DISPLAYLEVEL(1, __VA_ARGS__); \
100 DISPLAYLEVEL(1, "\n"); \
119 DISPLAYLEVEL(3, "- test >= %u seconds per compression / decompression -\n", g_nbIterations); in BMK_SetNbIterations()
125 DISPLAYLEVEL(2, "using blocks of size %u KB \n", (unsigned)(blockSize>>10)); in BMK_SetBlockSize()
213 DISPLAYLEVEL(2, "\r%79s\r", ""); in BMK_benchMem()
220 DISPLAYLEVEL(2, "\rcooling down ... \r"); in BMK_benchMem()
226DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->\r", marks[markNb], displayName, (unsigned)srcSize); in BMK_benchMem()
389 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.3f),%6.1f MB/s\r", in BMK_benchMem()
[all …]