reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
86 InstrBenchmark.Mode = Mode; 87 InstrBenchmark.CpuName = State.getTargetMachine().getTargetCPU(); 88 InstrBenchmark.LLVMTriple = 90 InstrBenchmark.NumRepetitions = NumRepetitions; 91 InstrBenchmark.Info = BC.Info; 95 InstrBenchmark.Key = BC.Key; 111 InstrBenchmark.AssembledSnippet.assign(FnBytes.begin(), FnBytes.end()); 117 Repetitor.Repeat(Instructions, InstrBenchmark.NumRepetitions); 123 InstrBenchmark.Error = toString(std::move(E)); 124 return InstrBenchmark; 141 InstrBenchmark.Error = toString(std::move(E)); 142 return InstrBenchmark; 144 InstrBenchmark.Measurements = std::move(*Measurements); 145 assert(InstrBenchmark.NumRepetitions > 0 && "invalid NumRepetitions"); 146 for (BenchmarkMeasure &BM : InstrBenchmark.Measurements) { 148 BM.PerInstructionValue /= InstrBenchmark.NumRepetitions; 151 InstrBenchmark.NumRepetitions; 154 return InstrBenchmark;