Searched refs:stdDiff (Results 1 – 3 of 3) sorted by relevance
/third_party/boost/libs/algorithm/test/ |
D | search_test3.cpp | 77 void printRes ( const char *prompt, unsigned long diff, unsigned long stdDiff ) { in printRes() argument 81 << std::setw(5) << (100.0 * diff) / stdDiff << "% \t" in printRes() 83 if ( diff > stdDiff ) in printRes() 91 unsigned long stdDiff; in check_one() local 123 stdDiff = std::clock () - sTime; in check_one() 124 printRes ( "std::search", stdDiff, stdDiff ); in check_one() 126 runOne ( boyer_moore_search, stdDiff ); in check_one() 127 runObject ( boyer_moore, stdDiff ); in check_one() 128 runOne ( boyer_moore_horspool_search, stdDiff ); in check_one() 129 runObject ( boyer_moore_horspool, stdDiff ); in check_one() [all …]
|
D | search_test2.cpp | 77 void printRes ( const char *prompt, unsigned long diff, unsigned long stdDiff ) { in printRes() argument 81 << std::setw(5) << (100.0 * diff) / stdDiff << "% \t" in printRes() 83 if ( diff > stdDiff ) in printRes() 91 unsigned long stdDiff; in check_one() local 123 stdDiff = std::clock () - sTime; in check_one() 124 printRes ( "std::search", stdDiff, stdDiff ); in check_one() 126 runOne ( boyer_moore_search, stdDiff ); in check_one() 127 runObject ( boyer_moore, stdDiff ); in check_one() 128 runOne ( boyer_moore_horspool_search, stdDiff ); in check_one() 129 runObject ( boyer_moore_horspool, stdDiff ); in check_one() [all …]
|
D | search_test4.cpp | 95 runOne ( boyer_moore_search, stdDiff ); in check_one() 96 runObject ( boyer_moore, stdDiff ); in check_one() 97 runOne ( boyer_moore_horspool_search, stdDiff ); in check_one() 98 runObject ( boyer_moore_horspool, stdDiff ); in check_one() 99 runOne ( knuth_morris_pratt_search, stdDiff ); in check_one() 100 runObject ( knuth_morris_pratt, stdDiff ); in check_one()
|