Skip to content

Commit

Permalink
move endsection down
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwu1 committed Feb 6, 2025
1 parent 858dde4 commit 817bbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/AdpfWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ void AdpfWrapper::reportActualDuration(int64_t actualDurationNanos) {
std::lock_guard<std::mutex> lock(mLock);
Trace::beginSection("reportActualDuration");
Trace::setCounter("actualDurationNanos", actualDurationNanos);
Trace::endSection();
if (mHintSession != nullptr) {
gAPH_reportActualWorkDurationFn(mHintSession, actualDurationNanos);
}
Trace::endSection();
}

void AdpfWrapper::close() {
Expand Down

0 comments on commit 817bbc2

Please sign in to comment.