diff --git a/src/highlevel/bidib_highlevel_util.c b/src/highlevel/bidib_highlevel_util.c index 13359ef..f98708b 100644 --- a/src/highlevel/bidib_highlevel_util.c +++ b/src/highlevel/bidib_highlevel_util.c @@ -349,23 +349,23 @@ void *bidib_heartbeat_log(void *par __attribute__((unused))) { // Report the mutex statistics every 2 seconds if (iters == 400) { printf("Libbidib: Mutex statistics report for last 2 seconds:\n"); - printf("bidib_state_trains_rwlock: Write-Locked %.2f percent of the time\n", + printf("bidib_state_trains_rwlock: Wr-Locked %.2f percent of the time\n", ((float) bidib_state_trains_rwlock_lockedcount / (float) iters)*100.0f); - printf("trackstate_accessories_mutex: Locked %.2f percent of the time\n", + printf("trackstate_accessories_mutex: Locked %.2f percent of the time\n", ((float) trackstate_accessories_mutex_lockedcount / (float) iters)*100.0f); - printf("trackstate_peripherals_mutex: Locked %.2f percent of the time\n", + printf("trackstate_peripherals_mutex: Locked %.2f percent of the time\n", ((float) trackstate_peripherals_mutex_lockedcount / (float) iters)*100.0f); - printf("trackstate_segments_mutex: Locked %.2f percent of the time\n", + printf("trackstate_segments_mutex: Locked %.2f percent of the time\n", ((float) trackstate_segments_mutex_lockedcount / (float) iters)*100.0f); - printf("trackstate_reversers_mutex: Locked %.2f percent of the time\n", + printf("trackstate_reversers_mutex: Locked %.2f percent of the time\n", ((float) trackstate_reversers_mutex_lockedcount / (float) iters)*100.0f); - printf("trackstate_trains_mutex: Locked %.2f percent of the time\n", + printf("trackstate_trains_mutex: Locked %.2f percent of the time\n", ((float) trackstate_trains_mutex_lockedcount / (float) iters)*100.0f); - printf("trackstate_boosters_mutex: Locked %.2f percent of the time\n", + printf("trackstate_boosters_mutex: Locked %.2f percent of the time\n", ((float) trackstate_boosters_mutex_lockedcount / (float) iters)*100.0f); printf("trackstate_track_outputs_mutex: Locked %.2f percent of the time\n", ((float) trackstate_track_outputs_mutex_lockedcount / (float) iters)*100.0f); - printf("bidib_state_boards_rwlock: Write-Locked %.2f percent of the time\n", + printf("bidib_state_boards_rwlock: Wr-Locked %.2f percent of the time\n", ((float) bidib_state_boards_rwlock_lockedcount / (float) iters)*100.0f); printf("\n\n"); iters = 0;