mirror of
https://github.com/schoebel/mars
synced 2025-02-15 19:47:16 +00:00
if: show open_count in statistics
This commit is contained in:
parent
5b12f5c569
commit
41cf70e288
@ -1209,6 +1209,7 @@ char *if_statistics(struct if_brick *brick, int verbose)
|
|||||||
"fired = %d "
|
"fired = %d "
|
||||||
"skip_sync = %d "
|
"skip_sync = %d "
|
||||||
"| "
|
"| "
|
||||||
|
"opened = %d "
|
||||||
"plugged = %d "
|
"plugged = %d "
|
||||||
"flying = %d "
|
"flying = %d "
|
||||||
"(reads = %d writes = %d)\n",
|
"(reads = %d writes = %d)\n",
|
||||||
@ -1222,6 +1223,7 @@ char *if_statistics(struct if_brick *brick, int verbose)
|
|||||||
atomic_read(&input->total_empty_count),
|
atomic_read(&input->total_empty_count),
|
||||||
atomic_read(&input->total_fire_count),
|
atomic_read(&input->total_fire_count),
|
||||||
atomic_read(&input->total_skip_sync_count),
|
atomic_read(&input->total_skip_sync_count),
|
||||||
|
atomic_read(&brick->open_count),
|
||||||
atomic_read(&input->plugged_count),
|
atomic_read(&input->plugged_count),
|
||||||
atomic_read(&input->flying_count),
|
atomic_read(&input->flying_count),
|
||||||
atomic_read(&input->read_flying_count),
|
atomic_read(&input->read_flying_count),
|
||||||
|
Loading…
Reference in New Issue
Block a user