diff options
Diffstat (limited to 'src/mongo/db/stats/top.h')
-rw-r--r-- | src/mongo/db/stats/top.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/stats/top.h b/src/mongo/db/stats/top.h index 903b8e5c510..1f08e4784a5 100644 --- a/src/mongo/db/stats/top.h +++ b/src/mongo/db/stats/top.h @@ -87,7 +87,7 @@ public: typedef StringMap<CollectionData> UsageMap; public: - void record(OperationContext* txn, + void record(OperationContext* opCtx, StringData ns, LogicalOp logicalOp, int lockType, @@ -109,7 +109,7 @@ public: /** * Increments the global histogram. */ - void incrementGlobalLatencyStats(OperationContext* txn, + void incrementGlobalLatencyStats(OperationContext* opCtx, uint64_t latency, Command::ReadWriteType readWriteType); @@ -123,14 +123,14 @@ private: void _appendStatsEntry(BSONObjBuilder& b, const char* statsName, const UsageData& map) const; - void _record(OperationContext* txn, + void _record(OperationContext* opCtx, CollectionData& c, LogicalOp logicalOp, int lockType, long long micros, Command::ReadWriteType readWriteType); - void _incrementHistogram(OperationContext* txn, + void _incrementHistogram(OperationContext* opCtx, long long latency, OperationLatencyHistogram* histogram, Command::ReadWriteType readWriteType); |