MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / FormatQuality

Function FormatQuality

tests/test_connection.cpp:324–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324inline std::string FormatQuality( float q )
325{
326 if ( q < 0.0f ) return "???";
327 char buf[32];
328 sprintf( buf, "%.1f%%", q*100.0f );
329 return buf;
330}
331
332static void PrintStatus( const SFakePeer &p1, const SFakePeer &p2 )
333{

Callers 1

PrintStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected