web tweaks

isolation_bkp/dynres
Dominik Madarász 2022-09-12 07:00:47 +00:00 committed by GitHub
parent 356f88f3ba
commit 6ce2664d57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -172,6 +172,7 @@ static debug_item items[] = {
},
.limit_to = L_MP,
},
#if !defined(PLATFORM_WEB)
{
.kind = DITEM_LIST,
.name = "replay system",
@ -209,6 +210,7 @@ static debug_item items[] = {
},
.limit_to = L_SP,
},
#endif
{
.kind = DITEM_LIST,
.name = "profilers",

View File

@ -17,16 +17,16 @@ typedef struct {
uint64_t total_received;
uint32_t outgoing_total;
uint64_t total_sent;
// NOTE(zaklaus): bandwidth (bytes/sec)
float incoming_bandwidth;
float outgoing_bandwidth;
// NOTE(zaklaus): packet integrity
uint64_t packets_sent;
uint32_t packets_lost;
float packet_loss;
// NOTE(zaklaus): ping
uint32_t ping;
uint32_t low_ping;