diff options
author | Maddie Zechar <mez2113@columbia.edu> | 2022-11-09 15:15:22 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-09 15:56:50 +0000 |
commit | 7981ec64d28c49dd2f41d466f7b6bfaccad66fa9 (patch) | |
tree | a38c9e96279a99fc2d6eb440f7c5ffb2a69e405b /src/mongo/db/pipeline/plan_executor_pipeline.h | |
parent | 22f77f68eff3fa6a2db61f6ed08974721f9742c4 (diff) | |
download | mongo-7981ec64d28c49dd2f41d466f7b6bfaccad66fa9.tar.gz |
SERVER-70646 Compute and add query planning time to PlanSummaryStats
Diffstat (limited to 'src/mongo/db/pipeline/plan_executor_pipeline.h')
-rw-r--r-- | src/mongo/db/pipeline/plan_executor_pipeline.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/plan_executor_pipeline.h b/src/mongo/db/pipeline/plan_executor_pipeline.h index cfc1a9052c3..63fb2609156 100644 --- a/src/mongo/db/pipeline/plan_executor_pipeline.h +++ b/src/mongo/db/pipeline/plan_executor_pipeline.h @@ -29,6 +29,7 @@ #pragma once +#include "mongo/util/duration.h" #include <queue> #include "mongo/db/exec/document_value/document.h" @@ -54,7 +55,8 @@ public: PlanExecutorPipeline(boost::intrusive_ptr<ExpressionContext> expCtx, std::unique_ptr<Pipeline, PipelineDeleter> pipeline, - ResumableScanType resumableScanType); + ResumableScanType resumableScanType, + Microseconds timeElapsedPlanning); CanonicalQuery* getCanonicalQuery() const override { return nullptr; |