Lines Matching defs:winner
899 /* global winner used for constraints */
909 DISPLAY("New Winner: \n");
943 fprintf(f, "Overall Winner: \n");
1698 /* Benchmarking which stops when we are sufficiently sure the solution is infeasible / worse than the winner */
1744 /* disregard if resultMax < winner in infeas mode */
2180 * winner - best option found so far.
2372 winnerInfo_t winner = initWinnerInfo(emptyParams());
2425 winner.params = cParamsToPVals(ZSTD_getCParams(cLevelOpt, buf.maxBlockSize, ctx.dictSize));
2426 if(BMK_benchParam(&winner.result, buf, ctx, winner.params)) {
2431 g_lvltarget = winner.result;
2439 BMK_printWinnerOpt(stdout, cLevelOpt, winner.result, winner.params, target, buf.srcSize);
2450 if(compareResultLT(winner.result, res, relaxTarget(target), buf.srcSize)) {
2451 winner.result = res;
2452 winner.params = g_params;
2485 if(!ec && compareResultLT(winner.result, candidate, relaxTarget(target), buf.srcSize)) {
2486 winner.result = candidate;
2487 winner.params = CParams;
2495 BMK_printWinnerOpt(stdout, CUSTOM_LEVEL, winner.result, winner.params, target, buf.srcSize);
2501 { int bestStrategy = (int)winner.params.vals[strt_ind];
2507 { winnerInfo_t const w1 = climbOnce(target, allMT, buf, ctx, winner.params);
2508 if (compareResultLT(winner.result, w1.result, target, buf.srcSize)) {
2509 winner = w1;
2520 if(compareResultLT(winner.result, wc.result, target, buf.srcSize)) {
2521 winner = wc;
2531 winner = optimizeFixedStrategy(buf, ctx, target, paramBase, paramTarget.vals[strt_ind], allMT, g_maxTries);
2537 if(winner.result.cSize == (size_t)-1) {
2546 BMK_displayOneResult(stdout, winner, buf.srcSize);
2548 BMK_paramValues_into_commandLine(stdout, winner.params);