Lines Matching full:complexity
18 #include "complexity.h"
29 BigOFunc* FittingCurve(BigO complexity) { in FittingCurve() argument
31 switch (complexity) { in FittingCurve()
55 // Function to return an string for the calculated complexity
56 std::string GetBigOString(BigO complexity) { in GetBigOString() argument
57 switch (complexity) { in GetBigOString()
101 result.complexity = oLambda; in MinimalLeastSq()
103 // Calculate complexity. in MinimalLeastSq()
124 // - complexity : If different than oAuto, the fitting curve will stick to
128 const std::vector<double>& time, const BigO complexity) { in MinimalLeastSq() argument
132 BM_CHECK_NE(complexity, oNone); in MinimalLeastSq()
136 if (complexity == oAuto) { in MinimalLeastSq()
141 best_fit.complexity = o1; in MinimalLeastSq()
148 best_fit.complexity = fit; in MinimalLeastSq()
152 best_fit = MinimalLeastSq(n, time, FittingCurve(complexity)); in MinimalLeastSq()
153 best_fit.complexity = complexity; in MinimalLeastSq()
185 if (reports[0].complexity == oLambda) { in ComputeBigO()
189 const BigO* InitialBigO = &reports[0].complexity; in ComputeBigO()
194 InitialBigO = &result_real.complexity; in ComputeBigO()
195 // The Big-O complexity for CPU time must have the same Big-O function! in ComputeBigO()
198 InitialBigO = &result_cpu.complexity; in ComputeBigO()
204 // Drop the 'args' when reporting complexity. in ComputeBigO()
224 big_o.complexity = result_cpu.complexity; in ComputeBigO()
249 rms.complexity = result_cpu.complexity; in ComputeBigO()