HomeSort by: relevance | last modified time | path
    Searched refs:DISPLAYLEVEL (Results 1 - 15 of 15) sorted by relevancy

  /src/external/bsd/zstd/dist/programs/
fileio_common.h 35 #define DISPLAYLEVEL(l, ...) { if (g_display_prefs.displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
40 #define READY_FOR_UPDATE() (UTIL_clockSpanMicro(g_displayClock) > REFRESH_RATE || g_display_prefs.displayLevel >= 4)
43 if (g_display_prefs.displayLevel>=l && (g_display_prefs.progressSetting != FIO_ps_never)) { \
47 if (g_display_prefs.displayLevel>=4) fflush(stderr); \
51 (g_display_prefs.displayLevel >= 2 || g_display_prefs.progressSetting == FIO_ps_always)
54 #define DISPLAY_PROGRESS(...) { if (SHOULD_DISPLAY_PROGRESS()) { DISPLAYLEVEL(1, __VA_ARGS__); }}
56 #define DISPLAY_SUMMARY(...) { if (SHOULD_DISPLAY_SUMMARY()) { DISPLAYLEVEL(1, __VA_ARGS__); } }
60 DISPLAYLEVEL(1, "zstd: "); \
61 DISPLAYLEVEL(5, "Error defined at %s, line %i : \n", __FILE__, __LINE__);
    [all...]
dibio.c 59 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); }
64 #define DISPLAYUPDATE(l, ...) { if (displayLevel>=l) { \
65 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (displayLevel>=4)) \
67 if (displayLevel>=4) fflush(stderr); } } }
118 size_t targetChunkSize, int displayLevel )
173 DISPLAYLEVEL(2, "\r%79s\r", "");
174 DISPLAYLEVEL(4, "Loaded %d KB total training data, %d nb samples \n",
271 static fileStats DiB_fileStats(const char** fileNamesTable, int nbFiles, size_t chunkSize, int displayLevel)
284 DISPLAYLEVEL(3, "Sample file '%s' has zero size, skipping...\n", fileNamesTable[n])
    [all...]
zstdcli.c 103 #undef DISPLAYLEVEL
104 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
117 DISPLAYLEVEL(1, "Error : incorrect library version (expecting : %s ; actual : %s ) \n",
119 DISPLAYLEVEL(1, "Please update library to version %s, or use stand-alone zstd binary \n",
320 DISPLAYLEVEL(1, "Incorrect parameter: %s \n", parameter);
342 DISPLAYLEVEL(1, "%s \n", msg); exit(1);
503 DISPLAYLEVEL(4, "cover: k=%u\nd=%u\nsteps=%u\nsplit=%u\nshrink%u\n", params->k, params->d, params->steps, (unsigned)(params->splitPoint * 100), params->shrinkDictMaxRegression);
543 DISPLAYLEVEL(4, "cover: k=%u\nd=%u\nf=%u\nsteps=%u\nsplit=%u\naccel=%u\nshrink=%u\n", params->k, params->d, params->f, params->steps, (unsigned)(params->splitPoint * 100), params->accel, params->shrinkDictMaxRegression);
558 DISPLAYLEVEL(4, "legacy: selectivity=%u\n", *selectivity);
602 DISPLAYLEVEL(4, "invalid compression parameter \n")
    [all...]
fileio.c 259 return fCtx->nbFilesTotal <= 1 || g_display_prefs.displayLevel >= 3;
344 void FIO_setNotificationLevel(int level) { g_display_prefs.displayLevel=level; }
371 if (nbWorkers > 0) DISPLAYLEVEL(2, "Note : multi-threading is disabled \n");
382 DISPLAYLEVEL(2, "Setting block size is useless in single-thread mode \n");
388 DISPLAYLEVEL(2, "Setting overlapLog is useless in single-thread mode \n");
480 DISPLAYLEVEL(2, "Note : asyncio is disabled (lack of multithreading support) \n");
523 DISPLAYLEVEL(2, "zstd: Failed to stat %s while trying to remove it\n", path);
527 DISPLAYLEVEL(2, "zstd: Refusing to remove non-regular file %s\n", path);
549 DISPLAYLEVEL(4,"Using stdin for input \n");
555 DISPLAYLEVEL(1, "zstd: can't stat %s : %s -- ignored \n"
    [all...]
benchzstd.c 81 #define DISPLAYLEVEL(l, ...) \
82 if (displayLevel >= l) { \
93 if (displayLevel >= l) { \
112 DISPLAYLEVEL(1, "Error %i : ", errorNum); \
113 DISPLAYLEVEL(1, __VA_ARGS__); \
114 DISPLAYLEVEL(1, " \n"); \
135 DISPLAYLEVEL(1, "Error %i : ", errorNum); \
136 DISPLAYLEVEL(1, __VA_ARGS__); \
137 DISPLAYLEVEL(1, " \n"); \
434 int displayLevel,
    [all...]
  /src/external/bsd/zstd/dist/tests/
fuzzer.c 62 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
121 #define CHECK(fn) { if(!(fn)) { DISPLAYLEVEL(1, "Error : test (%s) failed \n", #fn); exit(1); } }
131 #define CHECK_VAR(var, fn) var = fn; if (ZSTD_isError(var)) { DISPLAYLEVEL(1, "%s : fails : %s \n", #fn, ZSTD_getErrorName(var)); exit(1); }
167 DISPLAYLEVEL(4, "allocating %u KB => effectively %u KB \n",
180 DISPLAYLEVEL(4, "freeing %u KB \n", (unsigned)(malloc_size(address) >> 10));
188 DISPLAYLEVEL(3, "peak:%6u KB, nbMallocs:%2u, total:%6u KB \n",
216 DISPLAYLEVEL(3, "compressCCtx level %i : ", compressionLevel);
233 DISPLAYLEVEL(3, "compressStream level %i : ", compressionLevel);
250 DISPLAYLEVEL(3, "compress_generic,-T%i,end level %i : ",
271 DISPLAYLEVEL(3, "compress_generic,-T%i,continue level %i : "
    [all...]
datagencli.c 34 #define DISPLAYLEVEL(l, ...) \
35 if (displayLevel >= l) { \
38 static unsigned displayLevel = 2;
126 displayLevel = 4;
136 DISPLAYLEVEL(4, "Compressible data Generator \n");
137 DISPLAYLEVEL(3, "Seed = %u \n", (unsigned)seed);
140 DISPLAYLEVEL(3, "Compressibility : %i%%\n", probaU32);
146 DISPLAYLEVEL(3, "\n");
zstreamtest.c 63 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { \
296 DISPLAYLEVEL(3, "creating dictionary for unit tests \n");
305 DISPLAYLEVEL(3, "test%3i : compress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH);
317 DISPLAYLEVEL(3, "OK (%u bytes)\n", (unsigned)outBuff.pos);
325 DISPLAYLEVEL(3, "test%3i : skipframe + compress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH);
341 DISPLAYLEVEL(3, "OK (%u bytes : %.2f%%)\n",
345 DISPLAYLEVEL(3, "test%3i : estimate CStream size : ", testNb++);
351 DISPLAYLEVEL(3, "OK (%u bytes) \n", (unsigned)(cstreamSize + cdictSize));
355 DISPLAYLEVEL(3, "test%3i : estimate CStream size using CCtxParams : ", testNb++);
365 DISPLAYLEVEL(3, "OK \n")
    [all...]
decodecorpus.c 42 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
382 DISPLAYLEVEL(3, " frame content size:\t%u\n", (unsigned)fh.contentSize);
383 DISPLAYLEVEL(3, " frame window size:\t%u\n", fh.windowSize);
384 DISPLAYLEVEL(3, " content size flag:\t%d\n", contentSizeFlag);
385 DISPLAYLEVEL(3, " single segment flag:\t%d\n", singleSegment);
437 DISPLAYLEVEL(4, " raw literals\n");
446 DISPLAYLEVEL(4, " rle literals: 0x%02x\n", (unsigned)symb);
480 DISPLAYLEVEL(6, " huffman log: %u\n", huffLog);
515 DISPLAYLEVEL(4, " compressed literals\n");
550 DISPLAYLEVEL(5, " distribution weight: %d%%\n"
    [all...]
paramgrill.c 56 #define DISPLAYLEVEL(n, ...) if(g_displayLevel >= n) { fprintf(stderr, __VA_ARGS__); }
1280 DISPLAYLEVEL(2, "Loading %s... \r", fileNamesTable[n]);
1535 DISPLAYLEVEL(3, "\r testing :");
1537 DISPLAYLEVEL(3, "%3u,", (unsigned)cParams.vals[vi]);
1539 DISPLAYLEVEL(3, "\b \r");
1875 DISPLAYLEVEL(3, "Decompression Memory : %5.3f @ %4.1f MB vs %5.3f @ %4.1f MB : not enough for level %i\n",
1883 DISPLAYLEVEL(3, "Compression Memory : %5.3f @ %4.1f MB vs %5.3f @ %4.1f MB : not enough for level %i\n",
1892 DISPLAYLEVEL(3, "Compression Speed : %5.3f @ %4.1f MB/s vs %5.3f @ %4.1f MB/s : not enough for level %i\n",
1901 DISPLAYLEVEL(3, "Decompression Speed : %5.3f @ %4.1f MB/s vs %5.3f @ %4.1f MB/s : not enough for level %i\n",
1909 DISPLAYLEVEL(3, "Solution %4.3f selected over %4.3f at level %i, due to better secondary statistics \n"
    [all...]
  /src/external/bsd/zstd/dist/lib/dictBuilder/
fastcover.c 63 #define LOCALDISPLAYLEVEL(displayLevel, l, ...) \
64 if (displayLevel >= l) { \
67 #undef DISPLAYLEVEL
68 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__)
75 #define LOCALDISPLAYUPDATE(displayLevel, l, ...) \
76 if (displayLevel >= l) { \
77 if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) { \
330 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n",
337 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid\n", nbTrainSamples);
343 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.\n", nbTestSamples)
    [all...]
zdict.c 78 #undef DISPLAYLEVEL
79 #define DISPLAYLEVEL(l, ...) do { if (notificationLevel>=l) { DISPLAY(__VA_ARGS__); } } while (0) /* 0 : no display; 1: errors; 2: default; 3: details; 4: debug */
230 DISPLAYLEVEL(4, "\n");
231 DISPLAYLEVEL(4, "found %3u matches of length >= %i at pos %7u ", (unsigned)(end-start), MINMATCHLENGTH, (unsigned)pos);
232 DISPLAYLEVEL(4, "\n");
312 DISPLAYLEVEL(4, "Selected dict at position %u, of length %u : saves %u (ratio: %.2f) \n",
492 DISPLAYLEVEL(2, "\r%70s\r", ""); /* clean display line */
501 if (bufferSize > ZDICT_MAX_SAMPLES_SIZE) DISPLAYLEVEL(3, "sample set too large : reduced to %u MB ...\n", (unsigned)(ZDICT_MAX_SAMPLES_SIZE>>20));
505 DISPLAYLEVEL(2, "sorting %u files of total size %u MB ...\n", nbFiles, (unsigned)(bufferSize>>20));
522 DISPLAYLEVEL(2, "finding patterns ... \n")
    [all...]
cover.c 76 #define LOCALDISPLAYLEVEL(displayLevel, l, ...) \
77 if (displayLevel >= l) { \
80 #undef DISPLAYLEVEL
81 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__)
88 #define LOCALDISPLAYUPDATE(displayLevel, l, ...) \
89 if (displayLevel >= l) { \
90 if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) { \
616 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n",
622 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid.", nbTrainSamples);
627 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.", nbTestSamples)
    [all...]
  /src/external/bsd/zstd/dist/zlibWrapper/examples/
zwrapbench.c 76 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
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);
125 DISPLAYLEVEL(2, "using blocks of size %u KB \n", (unsigned)(blockSize>>10));
213 DISPLAYLEVEL(2, "\r%79s\r", "");
220 DISPLAYLEVEL(2, "\rcooling down ... \r");
226 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->\r", marks[markNb], displayName, (unsigned)srcSize);
389 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.3f),%6.1f MB/s\r"
    [all...]
  /src/external/bsd/zstd/dist/contrib/largeNbDicts/
largeNbDicts.c 63 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
136 DISPLAYLEVEL(3, "loading dictionary %s \n", dictionaryName);
141 DISPLAYLEVEL(3, "creating dictionary, of target size %u bytes \n",
801 DISPLAYLEVEL(3, "loading %u files... \n", nbFiles);
806 DISPLAYLEVEL(3, "created src buffer of size %.1f MB \n",
811 DISPLAYLEVEL(3, "split input into %u blocks ", nbBlocks);
813 DISPLAYLEVEL(3, "of max size %u bytes ", (unsigned)blockSize);
814 DISPLAYLEVEL(3, "\n");
857 DISPLAYLEVEL(3, "compressing at level %u without dictionary : Ratio=%.2f (%u bytes) \n",
866 DISPLAYLEVEL(3, "compressed using a %u bytes dictionary : Ratio=%.2f (%u bytes) \n"
    [all...]

Completed in 39 milliseconds