From a6306a5de3e502ff384acbccb80fc74a4412979c Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 14 Aug 2015 18:59:34 -0700 Subject: 1997 --- 020run.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/020run.cc b/020run.cc index 8469e4da..3478f5d2 100644 --- a/020run.cc +++ b/020run.cc @@ -150,6 +150,7 @@ if (!Run_tests) { //? Trace_stream->collect_layer.insert("app"); //? 1 transform_all(); recipe_ordinal r = Recipe_ordinal[string("main")]; + atexit(dump_profile); if (r) run(r); //? dump_memory(); //? 1 teardown(); @@ -161,8 +162,6 @@ void dump_profile() { cerr << p->first << ": " << p->second << '\n'; } } -:(before "End One-time Setup") -atexit(dump_profile); :(code) void cleanup_main() { -- cgit 1.4.1-2-gfad0