From 79daa3099e1f8478b8e17d8065143bca3e38214b Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 27 Mar 2020 18:01:36 +0100 Subject: api,bearer: add 'total-rx-bytes', 'total-tx-bytes' and 'total-duration' stats Compiling the amount of bytes transferred and received during all tracked connection attempts, as well as the total duration of all the connections. --- cli/mmcli-output.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/mmcli-output.c') diff --git a/cli/mmcli-output.c b/cli/mmcli-output.c index 7418fc18..49ebdcdc 100644 --- a/cli/mmcli-output.c +++ b/cli/mmcli-output.c @@ -228,6 +228,9 @@ static FieldInfo field_infos[] = { [MMC_F_BEARER_STATS_BYTES_TX] = { "bearer.stats.bytes-tx", "bytes tx", MMC_S_BEARER_STATS, }, [MMC_F_BEARER_STATS_ATTEMPTS] = { "bearer.stats.attempts", "attempts", MMC_S_BEARER_STATS, }, [MMC_F_BEARER_STATS_FAILED_ATTEMPTS] = { "bearer.stats.failed-attempts", "attempts", MMC_S_BEARER_STATS, }, + [MMC_F_BEARER_STATS_TOTAL_DURATION] = { "bearer.stats.total-duration", "total-duration", MMC_S_BEARER_STATS, }, + [MMC_F_BEARER_STATS_TOTAL_BYTES_RX] = { "bearer.stats.total-bytes-rx", "total-bytes rx", MMC_S_BEARER_STATS, }, + [MMC_F_BEARER_STATS_TOTAL_BYTES_TX] = { "bearer.stats.total-bytes-tx", "total-bytes tx", MMC_S_BEARER_STATS, }, [MMC_F_CALL_GENERAL_DBUS_PATH] = { "call.dbus-path", "dbus path", MMC_S_CALL_GENERAL, }, [MMC_F_CALL_PROPERTIES_NUMBER] = { "call.properties.number", "number", MMC_S_CALL_PROPERTIES, }, [MMC_F_CALL_PROPERTIES_DIRECTION] = { "call.properties.direction", "direction", MMC_S_CALL_PROPERTIES, }, -- cgit v1.2.3-70-g09d2