Home | History | Annotate | Download | only in dictBuilder

Lines Matching defs:displayLevel

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);
632 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples,
634 DISPLAYLEVEL(2, "Testing on %u samples of total size %u\n", nbTestSamples,
649 DISPLAYLEVEL(1, "Failed to allocate scratch buffers\n");
664 DISPLAYLEVEL(2, "Constructing partial suffix array\n");
676 DISPLAYLEVEL(2, "Computing frequencies\n");
691 void COVER_warnOnSmallCorpus(size_t maxDictSize, size_t nbDmers, int displayLevel)
697 LOCALDISPLAYLEVEL(displayLevel, 1,
739 DISPLAYLEVEL(2, "Breaking content into %u epochs of size %u\n",
775 DISPLAYLEVEL(2, "\r%79s\r", "");
792 DISPLAYLEVEL(1, "Cover parameters incorrect\n");
796 DISPLAYLEVEL(1, "Cover must have at least one input file\n");
800 DISPLAYLEVEL(1, "dictBufferCapacity must be at least %u\n",
814 DISPLAYLEVEL(1, "Failed to allocate dmer map: out of memory\n");
819 DISPLAYLEVEL(2, "Building dictionary\n");
828 DISPLAYLEVEL(2, "Constructed dictionary of size %u\n",
1136 DISPLAYLEVEL(1, "Failed to allocate dmer map: out of memory\n");
1140 DISPLAYLEVEL(1, "Failed to allocate buffers: out of memory\n");
1154 DISPLAYLEVEL(1, "Failed to select dictionary\n");
1186 const int displayLevel = parameters->zParams.notificationLevel;
1196 LOCALDISPLAYLEVEL(displayLevel, 1, "Incorrect parameters\n");
1200 LOCALDISPLAYLEVEL(displayLevel, 1, "Incorrect parameters\n");
1204 DISPLAYLEVEL(1, "Cover must have at least one input file\n");
1208 DISPLAYLEVEL(1, "dictBufferCapacity must be at least %u\n",
1221 g_displayLevel = displayLevel == 0 ? 0 : displayLevel - 1;
1223 LOCALDISPLAYLEVEL(displayLevel, 2, "Trying %u different sets of parameters\n",
1228 LOCALDISPLAYLEVEL(displayLevel, 3, "d=%u\n", d);
1232 LOCALDISPLAYLEVEL(displayLevel, 1, "Failed to initialize context\n");
1239 COVER_warnOnSmallCorpus(dictBufferCapacity, ctx.suffixSize, displayLevel);
1247 LOCALDISPLAYLEVEL(displayLevel, 3, "k=%u\n", k);
1249 LOCALDISPLAYLEVEL(displayLevel, 1, "Failed to allocate parameters\n");
1267 DISPLAYLEVEL(1, "Cover parameters incorrect\n");
1279 LOCALDISPLAYUPDATE(displayLevel, 2, "\r%u%% ",
1286 LOCALDISPLAYLEVEL(displayLevel, 2, "\r%79s\r", "");