Home
last modified time | relevance | path

Searched refs:prev_clock (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/move/test/
Dbench_sort.cpp128 … measure_algo(T *elements, std::size_t element_count, std::size_t alg, nanosecond_type &prev_clock) in measure_algo() argument
228 , prev_clock ? double(new_clock)/double(prev_clock): 1.0); in measure_algo()
229 prev_clock = new_clock; in measure_algo()
241 nanosecond_type prev_clock = 0; in measure_all() local
245 res = res && measure_algo(elements.data(), L,MergeSort, prev_clock); in measure_all()
246 back_clock = prev_clock; in measure_all()
248 prev_clock = back_clock; in measure_all()
250 res = res && measure_algo(elements.data(), L,StableSort, prev_clock); in measure_all()
252 prev_clock = back_clock; in measure_all()
254 res = res && measure_algo(elements.data(), L,PdQsort, prev_clock); in measure_all()
[all …]
Dbench_merge.cpp113 …ts, std::size_t element_count, std::size_t split_pos, std::size_t alg, nanosecond_type &prev_clock) in measure_algo() argument
196 , prev_clock ? double(new_clock)/double(prev_clock): 1.0); in measure_algo()
197 prev_clock = new_clock; in measure_algo()
209 nanosecond_type prev_clock = 0; in measure_all() local
214 res = res && measure_algo(elements.data(), L, split_pos, StdMerge, prev_clock); in measure_all()
215 back_clock = prev_clock; in measure_all()
218 prev_clock = back_clock; in measure_all()
220 res = res && measure_algo(elements.data(), L, split_pos, QuartAdaptMerge, prev_clock); in measure_all()
222 prev_clock = back_clock; in measure_all()
224 res = res && measure_algo(elements.data(), L, split_pos, StdQuartAdaptMerge, prev_clock); in measure_all()
[all …]