Depsgraph: Remove remaining parts of old removed debugger

This commit is contained in:
Sergey Sharybin
2017-12-20 15:50:22 +01:00
parent b1a036861d
commit 65128d296c

View File

@@ -58,11 +58,6 @@ extern "C" {
/* Unfinished and unused, and takes quite some pre-processing time. */
#undef USE_EVAL_PRIORITY
/* Use integrated debugger to keep track how much each of the nodes was
* evaluating.
*/
#undef USE_DEBUGGER
namespace DEG {
/* ********************** */
@@ -107,22 +102,8 @@ static void deg_task_run_func(TaskPool *pool,
* but that's all fine, we'll just scheduler it's children.
*/
if (node->evaluate) {
/* Take note of current time. */
#ifdef USE_DEBUGGER
double start_time = PIL_check_seconds_timer();
DepsgraphDebug::task_started(state->graph, node);
#endif
/* Perform operation. */
node->evaluate(state->eval_ctx);
/* Note how long this took. */
#ifdef USE_DEBUGGER
double end_time = PIL_check_seconds_timer();
DepsgraphDebug::task_completed(state->graph,
node,
end_time - start_time);
#endif
}
BLI_task_pool_delayed_push_begin(pool, thread_id);