Skip to content

Commit ad36285

Browse files
committed
Print the timescale too.
1 parent 99f0d70 commit ad36285

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

opencog/persist/proxy/WriteBufferProxy.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ std::string WriteBufferProxy::monitor(void)
249249
rpt += " Values: " + std::to_string(_mavg_out_values);
250250
rpt += "\n";
251251

252+
// Duty cycle is the amount of time that the write thread
253+
// is actually writing, vs. the elapsed wallclock time.
254+
// Anything over 100 will lead to buffer overflows.
255+
rpt += "Timescale " + std::to_string(_decay) + " secs; ";
252256
rpt += "Duty cycle (load avg): " + std::to_string(_mavg_load);
253257
rpt += "\n";
254258

0 commit comments

Comments
 (0)