diff --git a/sample/main.cpp b/sample/main.cpp index 949ca00..3e21801 100644 --- a/sample/main.cpp +++ b/sample/main.cpp @@ -213,10 +213,12 @@ int main() auto elapsed = std::chrono::duration_cast(end - start); + ::profiler::dumpBlocksToFile("sample.prof"); + std::cout << elapsed.count() << " usec" << std::endl; thread_blocks_tree_t threaded_trees; - auto blocks_counter = fillTreesFromFile("test.prof", threaded_trees); + auto blocks_counter = fillTreesFromFile("sample.prof", threaded_trees); std::cout << "Blocks count: " << blocks_counter << std::endl; char c;