Lines Matching refs:DISPLAY
61 #define DISPLAY(...) fprintf(stderr, __VA_ARGS__) macro
84 DISPLAY("- %u iterations -\n", g_nbIterations); in BMK_SetNbIterations()
183 DISPLAY("\nError: not enough memory!\n"); in BMK_benchParam()
223 DISPLAY("\r%79s\r", ""); in BMK_benchParam()
236 DISPLAY("\r%1u-%s : %9u ->", loopNb, name, (U32)srcSize); in BMK_benchParam()
258 DISPLAY("\r"); in BMK_benchParam()
259 DISPLAY("%1u-%s : %9u ->", loopNb, name, (U32)srcSize); in BMK_benchParam()
260 … DISPLAY(" %9u (%4.3f),%7.1f MB/s", (U32)cSize, ratio, (double)srcSize / fastestC / 1000000.); in BMK_benchParam()
279 DISPLAY("\r"); in BMK_benchParam()
280 DISPLAY("%1u-%s : %9u -> ", loopNb, name, (U32)srcSize); in BMK_benchParam()
281 … DISPLAY("%9u (%4.3f),%7.1f MB/s, ", (U32)cSize, ratio, (double)srcSize / fastestC / 1000000.); in BMK_benchParam()
282 DISPLAY("%7.1f MB/s", (double)srcSize / fastestD / 1000000.); in BMK_benchParam()
290 … DISPLAY("\n!!! WARNING !!! Invalid Checksum : %x != %x\n", (unsigned)crcOrig, (unsigned)crcCheck); in BMK_benchParam()
302 DISPLAY("\r"); in BMK_benchParam()
316 DISPLAY("\r%79s\r", ""); in BMK_printWinner()
400 …DISPLAY ("Decompression Memory : %5.3f @ %4.1f MB vs %5.3f @ %4.1f MB : not enough for level %… in BMK_seed()
408 …DISPLAY ("Compression Memory : %5.3f @ %4.1f MB vs %5.3f @ %4.1f MB : not enough for level %i\… in BMK_seed()
416 …DISPLAY ("Compression Speed : %5.3f @ %4.1f MB/s vs %5.3f @ %4.1f MB/s : not enough for level … in BMK_seed()
424 …DISPLAY ("Decompression Speed : %5.3f @ %4.1f MB/s vs %5.3f @ %4.1f MB/s : not enough for leve… in BMK_seed()
431 …DISPLAY("Solution %4.3f selected over %4.3f at level %i, due to better secondary statistics \n", W… in BMK_seed()
588 if (ctx==NULL) { DISPLAY("ZSTD_createCCtx() failed \n"); exit(1); } in BMK_benchMem()
590 if (f==NULL) { DISPLAY("error opening %s \n", rfName); exit(1); } in BMK_benchMem()
596 DISPLAY("\n"); in BMK_benchMem()
634 DISPLAY("grillParams operations completed \n"); in BMK_benchMem()
650 if (!origBuff) { DISPLAY("\nError: not enough memory!\n"); return 12; } in benchSample()
656 DISPLAY("\r%79s\r", ""); in benchSample()
657 DISPLAY("using %s %i%%: \n", name, (int)(g_compressibility*100)); in benchSample()
679 DISPLAY( "Pb opening %s\n", inFileName); in benchFiles()
683 DISPLAY("Pb evaluatin size of %s \n", inFileName); in benchFiles()
692 …DISPLAY("Not enough memory for '%s' full size; testing %i MB only...\n", inFileName, (int)(benched… in benchFiles()
695 DISPLAY("\nError: not enough memory!\n"); in benchFiles()
701 DISPLAY("Loading %s... \r", inFileName); in benchFiles()
705 DISPLAY("\nError: problem reading file '%s' !! \n", inFileName); in benchFiles()
711 DISPLAY("\r%79s\r", ""); in benchFiles()
712 DISPLAY("using %s : \n", inFileName); in benchFiles()
725 …DISPLAY("--zstd=windowLog=%u,chainLog=%u,hashLog=%u,searchLog=%u,searchLength=%u,targetLength=%u,s… in BMK_translateAdvancedParams()
739 if (inFile==NULL) { DISPLAY( "Pb opening %s\n", inFileName); return 11; } in optimizeForSize()
741 DISPLAY("Pb evaluatin size of %s \n", inFileName); in optimizeForSize()
749 DISPLAY("Not enough memory for '%s' \n", inFileName); in optimizeForSize()
757 DISPLAY("\nError: not enough memory!\n"); in optimizeForSize()
763 DISPLAY("Loading %s... \r", inFileName); in optimizeForSize()
767 DISPLAY("\nError: problem reading file '%s' !! \n", inFileName); in optimizeForSize()
773 DISPLAY("\r%79s\r", ""); in optimizeForSize()
774 DISPLAY("optimizing for %s - limit speed %u MB/s \n", inFileName, targetSpeed); in optimizeForSize()
783 if (ctx==NULL) { DISPLAY("\n ZSTD_createCCtx error \n"); free(origBuff); return 14;} in optimizeForSize()
836 DISPLAY("grillParams size - optimizer completed \n"); in optimizeForSize()
849 DISPLAY( "Usage :\n"); in usage()
850 DISPLAY( " %s [arg] file\n", exename); in usage()
851 DISPLAY( "Arguments :\n"); in usage()
852 …DISPLAY( " file : path to the file used as reference (if none, generates a compressible sample)\n"… in usage()
853 DISPLAY( " -H/-h : Help (this text + advanced options)\n"); in usage()
859 DISPLAY( "\nAdvanced options :\n"); in usage_advanced()
860 DISPLAY( " -T# : set level 1 speed objective \n"); in usage_advanced()
861 DISPLAY( " -B# : cut input into blocks of size # (default : single block) \n"); in usage_advanced()
862 DISPLAY( " -i# : iteration loops [1-9](default : %i) \n", NBLOOPS); in usage_advanced()
863 DISPLAY( " -O# : find Optimized parameters for # MB/s compression speed (default : 0) \n"); in usage_advanced()
864 DISPLAY( " -S : Single run \n"); in usage_advanced()
865 …DISPLAY( " -P# : generated sample compressibility (default : %.1f%%) \n", COMPRESSIBILITY_DEFAU… in usage_advanced()
871 DISPLAY("Wrong parameters\n"); in badusage()
889 DISPLAY("Error : NB_LEVELS_TRACKED <= ZSTD_maxCLevel() \n"); in main()
894 DISPLAY(WELCOME_MESSAGE); in main()
1025 DISPLAY("using %u KB block size \n", g_blockSize>>10); in main()