Lines Matching defs:BenchmarkResult
616 Benchmark &BenchmarkResult = RC.BenchmarkResult;
617 BenchmarkResult.Mode = Mode;
618 BenchmarkResult.CpuName =
620 BenchmarkResult.LLVMTriple =
622 BenchmarkResult.MinInstructions = MinInstructions;
623 BenchmarkResult.Info = BC.Info;
629 BenchmarkResult.Key = BC.Key;
644 BenchmarkResult.AssembledSnippet))
653 assembleSnippet(BC, Repetitor, BenchmarkResult.MinInstructions,
700 Benchmark &BenchmarkResult = RC.BenchmarkResult;
708 return {std::move(E), std::move(BenchmarkResult)};
715 BenchmarkResult.Error = "actual measurements skipped.";
716 return {Error::success(), std::move(BenchmarkResult)};
720 createFunctionExecutor(std::move(ObjectFile), RC.BenchmarkResult.Key,
723 return {Executor.takeError(), std::move(BenchmarkResult)};
727 return {std::move(E), std::move(BenchmarkResult)};
729 assert(BenchmarkResult.MinInstructions > 0 && "invalid MinInstructions");
732 BM.PerInstructionValue /= BenchmarkResult.MinInstructions;
736 std::ceil(BenchmarkResult.MinInstructions /
737 static_cast<double>(BenchmarkResult.Key.Instructions.size()));
739 BenchmarkResult.Measurements = std::move(*NewMeasurements);
741 return {Error::success(), std::move(BenchmarkResult)};