Skip to content

Commit

Permalink
chore: enable profile for develop version
Browse files Browse the repository at this point in the history
  • Loading branch information
keehyuna committed Sep 26, 2024
1 parent b8c3abe commit 48f1f93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/runtime/TRTEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,11 @@ TRTEngine::TRTEngine(
}
num_io = std::make_pair(inputs_size, outputs);
}
#ifndef NDEBUG
if (util::logging::get_logger().get_reportable_log_level() == util::logging::LogLevel::kDEBUG) {
this->enable_profiling();
}
#endif
LOG_DEBUG(*this);
}

Expand Down

0 comments on commit 48f1f93

Please sign in to comment.