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. --- .../org.freedesktop.ModemManager1.Bearer.xml | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'introspection') diff --git a/introspection/org.freedesktop.ModemManager1.Bearer.xml b/introspection/org.freedesktop.ModemManager1.Bearer.xml index b82c9d36..a07ee057 100644 --- a/introspection/org.freedesktop.ModemManager1.Bearer.xml +++ b/introspection/org.freedesktop.ModemManager1.Bearer.xml @@ -266,8 +266,8 @@ "tx-bytes" - Number bytes transmitted without error in the ongoing connection, - given as an unsigned 64-bit integer value (signature + Number of bytes transmitted without error in the ongoing + connection, given as an unsigned 64-bit integer value (signature "t"). @@ -290,6 +290,27 @@ "u"). + "total-rx-bytes" + + Total number of bytes received without error in all the successful + connection establishments, given as an unsigned 64-bit integer + value (signature "t"). + + + "total-tx-bytes" + + Total number of bytes transmitted without error in all the + successful connection establishments, given as an unsigned 64-bit + integer value (signature "t"). + + + "total-duration" + + Total duration of all the successful connection establishments, in + seconds, given as an unsigned integer value (signature + "u"). + + --> -- cgit v1.2.3-70-g09d2