diff --git a/src/client/diagnostics.rs b/src/client/diagnostics.rs
index 376707ef..b35902ba 100644
--- a/src/client/diagnostics.rs
+++ b/src/client/diagnostics.rs
@@ -23,7 +23,7 @@ impl Plugin for ClientDiagnosticsPlugin {
)
.register_diagnostic(
Diagnostic::new(Self::RTT)
- .with_suffix(" ms")
+ .with_suffix(" s")
.with_max_history_length(Self::DIAGNOSTIC_HISTORY_LEN),
)
.register_diagnostic(
diff --git a/src/core/connected_clients.rs b/src/core/connected_clients.rs
index 09738d5d..e9bfec85 100644
--- a/src/core/connected_clients.rs
+++ b/src/core/connected_clients.rs
@@ -57,14 +57,14 @@ impl ConnectedClient {
self.id
}
- /// Returns the round-time trip for the connection.
+ /// Returns the round-time trip in seconds for the connection.
///
/// Returns zero if not provided by the backend.
pub fn rtt(&self) -> f64 {
self.rtt
}
- /// Sets the round-time trip for the connection.
+ /// Sets the round-time trip in seconds for the connection.
///
///
///
@@ -75,14 +75,14 @@ impl ConnectedClient {
self.rtt = rtt;
}
- /// Returns the packet loss for the connection.
+ /// Returns the packet loss % for the connection.
///
/// Returns zero if not provided by the backend.
pub fn packet_loss(&self) -> f64 {
self.packet_loss
}
- /// Sets the packet loss for the connection.
+ /// Sets the packet loss % for the connection.
///
///
///
diff --git a/src/core/replicon_client.rs b/src/core/replicon_client.rs
index 72205554..8ebb85fc 100644
--- a/src/core/replicon_client.rs
+++ b/src/core/replicon_client.rs
@@ -211,14 +211,14 @@ impl RepliconClient {
channel_messages.push(message.into());
}
- /// Returns the round-time trip for the connection.
+ /// Returns the round-time trip in seconds for the connection.
///
/// Returns zero if not provided by the backend.
pub fn rtt(&self) -> f64 {
self.rtt
}
- /// Sets the round-time trip for the connection.
+ /// Sets the round-time trip in seconds for the connection.
///
///
///
@@ -229,14 +229,14 @@ impl RepliconClient {
self.rtt = rtt;
}
- /// Returns the packet loss for the connection.
+ /// Returns the packet loss % for the connection.
///
/// Returns zero if not provided by the backend.
pub fn packet_loss(&self) -> f64 {
self.packet_loss
}
- /// Sets the packet loss for the connection.
+ /// Sets the packet loss % for the connection.
///
///
///