Skip to content

Commit a73a7db

Browse files
committed
save
1 parent fc7154d commit a73a7db

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mdbx/txn.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ type CommitLatencyGC struct {
222222
WorkCounter uint32
223223
SelfCounter uint32
224224

225-
MaxRetainedPage uint32
226-
MaxReaderLag uint32
225+
MaxRetainedPages uint32
226+
MaxReaderLag uint32
227227

228228
// WorkPnlMergeTime time.Duration
229229
// WorkPnlMergeVolume uint64
@@ -269,12 +269,12 @@ func (txn *Txn) commit() (CommitLatency, error) {
269269
Ending: toDuration(_stat.ending),
270270
Whole: toDuration(_stat.whole),
271271
GCDetails: CommitLatencyGC{
272-
WorkRtime: toDuration(_stat.gc_prof.work_rtime_monotonic),
273-
MaxRetainedPage: uint32(_stat.gc_prof.max_retained_page),
274-
MaxReaderLag: uint32(_stat.gc_prof.max_reader_lag),
275-
WorkRsteps: uint32(_stat.gc_prof.work_rsteps),
276-
WorkRxpages: uint32(_stat.gc_prof.work_xpages),
277-
WorkMajflt: uint32(_stat.gc_prof.work_majflt),
272+
WorkRtime: toDuration(_stat.gc_prof.work_rtime_monotonic),
273+
MaxRetainedPages: uint32(_stat.gc_prof.max_retained_pages),
274+
MaxReaderLag: uint32(_stat.gc_prof.max_reader_lag),
275+
WorkRsteps: uint32(_stat.gc_prof.work_rsteps),
276+
WorkRxpages: uint32(_stat.gc_prof.work_xpages),
277+
WorkMajflt: uint32(_stat.gc_prof.work_majflt),
278278
//WorkPnlMergeTime: toDuration(_stat.gc_prof.pnl_merge_work.time),
279279
//WorkPnlMergeVolume: uint64(_stat.gc_prof.pnl_merge_work.volume),
280280
//WorkPnlMergeCalls: uint32(_stat.gc_prof.pnl_merge_work.calls),

0 commit comments

Comments
 (0)