Home | History | Annotate | Download | only in tests

Lines Matching refs:winner

899     /* global winner used for constraints */
909 DISPLAY("New Winner: \n");
943 fprintf(f, "Overall Winner: \n");
1697 /* Benchmarking which stops when we are sufficiently sure the solution is infeasible / worse than the winner */
1743 /* disregard if resultMax < winner in infeas mode */
2179 * winner - best option found so far.
2371 winnerInfo_t winner = initWinnerInfo(emptyParams());
2424 winner.params = cParamsToPVals(ZSTD_getCParams(cLevelOpt, buf.maxBlockSize, ctx.dictSize));
2425 if(BMK_benchParam(&winner.result, buf, ctx, winner.params)) {
2430 g_lvltarget = winner.result;
2438 BMK_printWinnerOpt(stdout, cLevelOpt, winner.result, winner.params, target, buf.srcSize);
2449 if(compareResultLT(winner.result, res, relaxTarget(target), buf.srcSize)) {
2450 winner.result = res;
2451 winner.params = g_params;
2484 if(!ec && compareResultLT(winner.result, candidate, relaxTarget(target), buf.srcSize)) {
2485 winner.result = candidate;
2486 winner.params = CParams;
2494 BMK_printWinnerOpt(stdout, CUSTOM_LEVEL, winner.result, winner.params, target, buf.srcSize);
2500 { int bestStrategy = (int)winner.params.vals[strt_ind];
2506 { winnerInfo_t const w1 = climbOnce(target, allMT, buf, ctx, winner.params);
2507 if (compareResultLT(winner.result, w1.result, target, buf.srcSize)) {
2508 winner = w1;
2519 if(compareResultLT(winner.result, wc.result, target, buf.srcSize)) {
2520 winner = wc;
2530 winner = optimizeFixedStrategy(buf, ctx, target, paramBase, paramTarget.vals[strt_ind], allMT, g_maxTries);
2536 if(winner.result.cSize == (size_t)-1) {
2545 BMK_displayOneResult(stdout, winner, buf.srcSize);
2547 BMK_paramValues_into_commandLine(stdout, winner.params);