forked from mar-file-system/GUFI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug mode: only dump queue size stats when exceeding highwater mark
In order to make the queue size stats more useful, and not be overwhelemd with too much output, this change makes it so that queue sizes are only printed when they exceed the previous highwater mark. Also, this adds a slight code cleanup by removing the `#if defined` around the callsite for `dump_queue_size_stats()`, and the function is defined as a no-op when `QPTPOOL_QUEUE_SIZE` is undefined.
- Loading branch information
1 parent
f2390c3
commit 36c0639
Showing
1 changed file
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters