Home
last modified time | relevance | path

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

/external/marisa-trie/tools/
Dmarisa-benchmark.cc34 double elasped() const { in elasped() function in __anon25e55f870111::Clock
113 void print_time_info(std::size_t num_keys, double elasped) { in print_time_info() argument
115 if (elasped == 0.0) { in print_time_info()
118 std::printf(" %7.2f", num_keys / elasped / 1000.0); in print_time_info()
124 std::printf(" %7.3f", 1000000.0 * elasped / num_keys); in print_time_info()
180 print_time_info(keys.size(), cl.elasped()); in benchmark_build()
196 print_time_info(key_ids.size(), cl.elasped()); in benchmark_restore()
210 print_time_info(keys.size(), cl.elasped()); in benchmark_lookup()
226 print_time_info(keys.size(), cl.elasped()); in benchmark_find()
247 print_time_info(keys.size(), cl.elasped()); in benchmark_predict_breadth_first()
[all …]
/external/marisa-trie/v0_1_5/tools/
Dmarisa_alpha-benchmark.cc34 double elasped() const { in elasped() function in __anon3c8043850111::Clock
113 void print_time_info(std::size_t num_keys, double elasped) { in print_time_info() argument
115 if (elasped == 0.0) { in print_time_info()
118 std::printf(" %7.2f", num_keys / elasped / 1000.0); in print_time_info()
124 std::printf(" %7.3f", 1000000.0 * elasped / num_keys); in print_time_info()
180 print_time_info(keys.size(), cl.elasped()); in benchmark_build()
196 print_time_info(key_ids.size(), cl.elasped()); in benchmark_restore()
210 print_time_info(keys.size(), cl.elasped()); in benchmark_lookup()
226 print_time_info(keys.size(), cl.elasped()); in benchmark_find()
247 print_time_info(keys.size(), cl.elasped()); in benchmark_predict_breadth_first()
[all …]