Lines Matching full:complexity
23 #include "complexity.h"
28 BigOFunc* FittingCurve(BigO complexity) { in FittingCurve() argument
30 switch (complexity) { in FittingCurve()
49 // Function to return an string for the calculated complexity
50 std::string GetBigOString(BigO complexity) { in GetBigOString() argument
51 switch (complexity) { in GetBigOString()
97 result.complexity = oLambda; in MinimalLeastSq()
99 // Calculate complexity. in MinimalLeastSq()
120 // - complexity : If different than oAuto, the fitting curve will stick to
124 const std::vector<double>& time, const BigO complexity) { in MinimalLeastSq() argument
128 CHECK_NE(complexity, oNone); in MinimalLeastSq()
132 if (complexity == oAuto) { in MinimalLeastSq()
137 best_fit.complexity = o1; in MinimalLeastSq()
144 best_fit.complexity = fit; in MinimalLeastSq()
148 best_fit = MinimalLeastSq(n, time, FittingCurve(complexity)); in MinimalLeastSq()
149 best_fit.complexity = complexity; in MinimalLeastSq()
178 if (reports[0].complexity == oLambda) { in ComputeBigO()
182 result_cpu = MinimalLeastSq(n, cpu_time, reports[0].complexity); in ComputeBigO()
183 result_real = MinimalLeastSq(n, real_time, result_cpu.complexity); in ComputeBigO()
198 big_o.complexity = result_cpu.complexity; in ComputeBigO()
218 rms.complexity = result_cpu.complexity; in ComputeBigO()