add some usage stats output on the mutex maps

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-07-09 21:22:44 +00:00
parent 271f720286
commit 2a304c2b6c
3 changed files with 26 additions and 0 deletions

View file

@ -92,6 +92,9 @@ impl crate::Service for Service {
.len();
writeln!(out, "lasttimelinecount_cache: {lasttimelinecount_cache}")?;
let mutex_insert = self.mutex_insert.len();
writeln!(out, "insert_mutex: {mutex_insert}")?;
Ok(())
}