summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index 2b79b888e0e..06539aeaacd 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -47,6 +47,7 @@ class Client;
class Command;
class CurOp;
class OperationContext;
+struct PlanSummaryStats;
/**
* stores a copy of a bson obj in a fixed size buffer
@@ -141,6 +142,11 @@ public:
const SingleThreadedLockStats& lockStats,
BSONObjBuilder& builder) const;
+ /**
+ * Copies relevant plan summary metrics to this OpDebug instance.
+ */
+ void setPlanSummaryMetrics(const PlanSummaryStats& planSummaryStats);
+
// -------------------
// basic options