summaryrefslogtreecommitdiff
path: root/src/mongo/db/timeseries/bucket_catalog/execution_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/timeseries/bucket_catalog/execution_stats.h')
-rw-r--r--src/mongo/db/timeseries/bucket_catalog/execution_stats.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/timeseries/bucket_catalog/execution_stats.h b/src/mongo/db/timeseries/bucket_catalog/execution_stats.h
index 5b2b00c990a..4a29f271b45 100644
--- a/src/mongo/db/timeseries/bucket_catalog/execution_stats.h
+++ b/src/mongo/db/timeseries/bucket_catalog/execution_stats.h
@@ -103,4 +103,10 @@ private:
void appendExecutionStatsToBuilder(const ExecutionStats& stats, BSONObjBuilder& builder);
+/**
+ * Adds the execution stats of a collection to both the collection and global stats of an execution
+ * stats controller.
+ */
+void addCollectionExecutionStats(ExecutionStatsController stats, const ExecutionStats& collStats);
+
} // namespace mongo::timeseries::bucket_catalog