Home | History | Annotate | Download | only in unittest

Lines Matching defs:goals

202 } goals;
212 goals.AddPattern(paramreg, paramapply);
265 //goals.RegisterParameter(&map_of_counts[101]);
267 goals.RegisterParameter(&params.num_iterations_times_runcount);
268 goals.SetParameterStat(N_MUTEX_LOCK_UNLOCK, &params.num_iterations_times_runcount, 3 /*don't ask why*/);
269 goals.SetParameterStat(N_MEM_ACCESSES_K, &params.num_iterations_times_runcount,
272 goals.RegisterParameter(&params.num_contexts);
273 goals.SetParameterStat(N_MUTEXES, &params.num_contexts, 1);
497 goals.RegisterParameter(num_CV_Signals);
498 goals.SetParameterStat(N_CV_SIGNALS, num_CV_Signals, 1);
499 goals.SetParameterStat(N_MUTEX_LOCK_UNLOCK, num_CV_Signals, 9 /* don't ask why */);
501 goals.RegisterParameter(&params.num_contexts);
502 goals.SetParameterStat(N_CV, &params.num_contexts, 1);
503 goals.SetParameterStat(N_MUTEXES, &params.num_contexts, 1);
505 goals.RegisterParameter(&params.data_size_times_runcount);
506 goals.SetParameterStat(N_MEM_ACCESSES_K, &params.data_size_times_runcount,
556 goals.RegisterParameter(num_CV_Waits);
557 goals.SetParameterStat(N_CV_WAITS, num_CV_Waits, params.HIT_PROBABILITY);
558 goals.SetParameterStat(N_MUTEX_LOCK_UNLOCK, num_CV_Waits, 16);
687 goals.RegisterParameter(&nThreads_double);
688 goals.SetParameterStat(N_THREADS, &nThreads_double, 1);
699 goals.AddPattern(N_THREADS_hack::Registerer, N_THREADS_hack::Applier);
757 goals.AddGoal(statNames[stat], stat_val);
761 goals.CompileStatsIntoVector();
762 Vector statsVector = goals.GetStatsVector();
763 goals.RegisterPatterns();
764 goals.CalculateAndApplyParameters();/**/