diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-08-14 22:47:27 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-08-14 22:47:27 -0700 |
commit | 35379c9abc22cb2ed535b0808efac909bddbb707 (patch) | |
tree | cb864c6f47a13ada73ccdc6470144c0970faec41 | |
parent | 175b4468536cba81f3320e63905136c189a68034 (diff) | |
download | mu-35379c9abc22cb2ed535b0808efac909bddbb707.tar.gz |
2005
Turn off profiling.
-rw-r--r-- | 020run.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/020run.cc b/020run.cc index b0cf644e..9d620587 100644 --- a/020run.cc +++ b/020run.cc @@ -60,7 +60,7 @@ void run_current_routine() while (!Current_routine->completed()) // later layers will modify condition { // Running One Instruction - Instructions_running[current_recipe_name()]++; +//? Instructions_running[current_recipe_name()]++; //? 1 if (current_instruction().is_label) { ++current_step_index(); continue; } trace(Initial_callstack_depth+Callstack_depth, "run") << current_instruction().to_string() << end(); if (Memory[0] != 0) { @@ -74,8 +74,8 @@ void run_current_routine() if (should_copy_ingredients()) { for (long long int i = 0; i < SIZE(current_instruction().ingredients); ++i) { ingredients.push_back(read_memory(current_instruction().ingredients.at(i))); - Locations_read[current_recipe_name()] += SIZE(ingredients.back()); - Locations_read_by_instruction[current_instruction().name] += SIZE(ingredients.back()); +//? Locations_read[current_recipe_name()] += SIZE(ingredients.back()); //? 1 +//? Locations_read_by_instruction[current_instruction().name] += SIZE(ingredients.back()); //? 1 } } // Instructions below will write to 'products'. @@ -161,7 +161,7 @@ if (!Run_tests) { //? Trace_stream->collect_layer.insert("app"); //? 1 transform_all(); recipe_ordinal r = Recipe_ordinal[string("main")]; - atexit(dump_profile); +//? atexit(dump_profile); //? 1 if (r) run(r); //? dump_memory(); //? 1 teardown(); |