summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/multi_plan.cpp
diff options
context:
space:
mode:
authorRuoxin Xu <ruoxin.xu@mongodb.com>2022-07-26 10:19:14 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-26 11:32:37 +0000
commite7d2be0dae29265e2a6efafd4753debf11b9e96f (patch)
tree394a15ee762d5eee6abad5d492e35330789c6dcf /src/mongo/db/exec/multi_plan.cpp
parente922e94ad274ef6d712d3a454a6d8427a736f2f6 (diff)
downloadmongo-e7d2be0dae29265e2a6efafd4753debf11b9e96f.tar.gz
SERVER-67101 Support microsecond precision in ScopedTimer
Diffstat (limited to 'src/mongo/db/exec/multi_plan.cpp')
-rw-r--r--src/mongo/db/exec/multi_plan.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/exec/multi_plan.cpp b/src/mongo/db/exec/multi_plan.cpp
index b7bd06ae024..60c3f018e25 100644
--- a/src/mongo/db/exec/multi_plan.cpp
+++ b/src/mongo/db/exec/multi_plan.cpp
@@ -195,9 +195,8 @@ void MultiPlanStage::tryYield(PlanYieldPolicy* yieldPolicy) {
}
Status MultiPlanStage::pickBestPlan(PlanYieldPolicy* yieldPolicy) {
- // Adds the amount of time taken by pickBestPlan() to executionTimeMillis. There's lots of
- // execution work that happens here, so this is needed for the time accounting to
- // make sense.
+ // Adds the amount of time taken by pickBestPlan() to executionTime. There's lots of execution
+ // work that happens here, so this is needed for the time accounting to make sense.
auto optTimer = getOptTimer();
auto tickSource = opCtx()->getServiceContext()->getTickSource();