FreeCalypso > hg > themwi-rtp-lib
diff src/twjit_out.c @ 11:4f82b9c07ddb
twjit: update to stats
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 Jul 2024 01:57:52 +0000 |
parents | 1bb26347e253 |
children | 323957bebd53 |
line wrap: on
line diff
--- a/src/twjit_out.c Sat Jul 06 00:29:24 2024 +0000 +++ b/src/twjit_out.c Sat Jul 06 01:57:52 2024 +0000 @@ -42,7 +42,6 @@ if (msg->cb[0] == sb->head_ts) { llist_del(&msg->list); twjit->stats.delivered_pkt++; - twjit->stats.delivered_bytes += msg->len; } else { msg = NULL; twjit->stats.output_gaps++; @@ -100,6 +99,7 @@ case TWJIT_STATE_HANDOVER: if (starting_sb_is_ready(twjit)) { toss_read_queue(twjit); + twjit->stats.handovers_out++; twjit->state = TWJIT_STATE_FLOWING; twjit->read_sb = twjit->write_sb; return pull_from_read_sb(twjit);