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

  /src/external/bsd/zstd/dist/tests/
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");
decodecorpus.c 42 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
361 DISPLAYLEVEL(3, " frame content size:\t%u\n", (unsigned)fh.contentSize);
362 DISPLAYLEVEL(3, " frame window size:\t%u\n", fh.windowSize);
363 DISPLAYLEVEL(3, " content size flag:\t%d\n", contentSizeFlag);
364 DISPLAYLEVEL(3, " single segment flag:\t%d\n", singleSegment);
414 DISPLAYLEVEL(4, " raw literals\n");
423 DISPLAYLEVEL(4, " rle literals: 0x%02x\n", (unsigned)symb);
457 DISPLAYLEVEL(6, " huffman log: %u\n", huffLog);
492 DISPLAYLEVEL(4, " compressed literals\n");
527 DISPLAYLEVEL(5, " distribution weight: %d%%\n"
    [all...]
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...]
fuzzer.c 63 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
122 #define CHECK(fn) { if(!(fn)) { DISPLAYLEVEL(1, "Error : test (%s) failed \n", #fn); exit(1); } }
132 #define CHECK_VAR(var, fn) var = fn; if (ZSTD_isError(var)) { DISPLAYLEVEL(1, "%s : fails : %s \n", #fn, ZSTD_getErrorName(var)); exit(1); }
168 DISPLAYLEVEL(4, "allocating %u KB => effectively %u KB \n",
181 DISPLAYLEVEL(4, "freeing %u KB \n", (unsigned)(malloc_size(address) >> 10));
189 DISPLAYLEVEL(3, "peak:%6u KB, nbMallocs:%2u, total:%6u KB \n",
217 DISPLAYLEVEL(3, "compressCCtx level %i : ", compressionLevel);
234 DISPLAYLEVEL(3, "compressStream level %i : ", compressionLevel);
251 DISPLAYLEVEL(3, "compress_generic,-T%i,end level %i : ",
272 DISPLAYLEVEL(3, "compress_generic,-T%i,continue level %i : "
    [all...]
paramgrill.c 56 #define DISPLAYLEVEL(n, ...) if(g_displayLevel >= n) { fprintf(stderr, __VA_ARGS__); }
1281 DISPLAYLEVEL(2, "Loading %s... \r", fileNamesTable[n]);
1536 DISPLAYLEVEL(3, "\r testing :");
1538 DISPLAYLEVEL(3, "%3u,", (unsigned)cParams.vals[vi]);
1540 DISPLAYLEVEL(3, "\b \r");
1876 DISPLAYLEVEL(3, "Decompression Memory : %5.3f @ %4.1f MB vs %5.3f @ %4.1f MB : not enough for level %i\n",
1884 DISPLAYLEVEL(3, "Compression Memory : %5.3f @ %4.1f MB vs %5.3f @ %4.1f MB : not enough for level %i\n",
1893 DISPLAYLEVEL(3, "Compression Speed : %5.3f @ %4.1f MB/s vs %5.3f @ %4.1f MB/s : not enough for level %i\n",
1902 DISPLAYLEVEL(3, "Decompression Speed : %5.3f @ %4.1f MB/s vs %5.3f @ %4.1f MB/s : not enough for level %i\n",
1910 DISPLAYLEVEL(3, "Solution %4.3f selected over %4.3f at level %i, due to better secondary statistics \n"
    [all...]
  /src/external/bsd/zstd/dist/programs/
fileio_common.h 36 #define DISPLAYLEVEL(l, ...) { if (g_display_prefs.displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
41 #define READY_FOR_UPDATE() (UTIL_clockSpanMicro(g_displayClock) > REFRESH_RATE || g_display_prefs.displayLevel >= 4)
44 if (g_display_prefs.displayLevel>=l && (g_display_prefs.progressSetting != FIO_ps_never)) { \
48 if (g_display_prefs.displayLevel>=4) fflush(stderr); \
52 (g_display_prefs.displayLevel >= 2 || g_display_prefs.progressSetting == FIO_ps_always)
55 #define DISPLAY_PROGRESS(...) { if (SHOULD_DISPLAY_PROGRESS()) { DISPLAYLEVEL(1, __VA_ARGS__); }}
57 #define DISPLAY_SUMMARY(...) { if (SHOULD_DISPLAY_SUMMARY()) { DISPLAYLEVEL(1, __VA_ARGS__); } }
65 DISPLAYLEVEL(1, "zstd: "); \
66 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...]
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"); \
425 int displayLevel,
    [all...]
zstdcli.c 106 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
119 DISPLAYLEVEL(1, "Error : incorrect library version (expecting : %s ; actual : %s ) \n",
121 DISPLAYLEVEL(1, "Please update library to version %s, or use stand-alone zstd binary \n",
321 DISPLAYLEVEL(1, "Incorrect parameter: %s \n", parameter);
343 DISPLAYLEVEL(1, "%s \n", msg); exit(1);
504 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);
544 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);
559 DISPLAYLEVEL(4, "legacy: selectivity=%u\n", *selectivity);
603 DISPLAYLEVEL(4, "invalid compression parameter \n");
608 DISPLAYLEVEL(4, "incoherent adaptation limits \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...]
cover.c 67 #define LOCALDISPLAYLEVEL(displayLevel, l, ...) \
68 if (displayLevel >= l) { \
71 #undef DISPLAYLEVEL
72 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__)
79 #define LOCALDISPLAYUPDATE(displayLevel, l, ...) \
80 if (displayLevel >= l) { \
81 if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) { \
565 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n",
571 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid.", nbTrainSamples);
576 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.", 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...]
  /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 34 milliseconds