Skip to content
Snippets Groups Projects
Commit c60a2484 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'fsearch-allow-stats-reporting' into 'master'

[fsearch] gracefully terminate the runtime to print the collected stats

See merge request i4/manycore/emper!222
parents 884b9563 b5634c12
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ void walk_dir() { ...@@ -72,7 +72,7 @@ void walk_dir() {
auto fn = [](const fs::directory_entry& dirent) { search(dirent.path()); }; auto fn = [](const fs::directory_entry& dirent) { search(dirent.path()); };
emper::io::recursive_directory_walk(".", filter, fn); emper::io::recursive_directory_walk(".", filter, fn);
exit(EXIT_SUCCESS); Runtime::getRuntime()->initiateTermination();
} }
auto main(int argc, char* argv[]) -> int { auto main(int argc, char* argv[]) -> int {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment