MCPcopy Create free account
hub / github.com/botbotrobotics/BotBrain / formatDataRate

Function formatDataRate

frontend/src/utils/format-utils.tsx:34–36  ·  view source on GitHub ↗
(bytesPerSec: number)

Source from the content-addressed store, hash-verified

32 * @returns Formatted string with appropriate units (Bps, KBps, MBps)
33 */
34export function formatDataRate(bytesPerSec: number): string {
35 return `${formatBytes(bytesPerSec)}/s`;
36}

Callers 5

DataInIndicatorFunction · 0.90
DataOutIndicatorFunction · 0.90
DataInIndicatorDetailedFunction · 0.90
DataOutIndicatorDetailedFunction · 0.90
HealthPageFunction · 0.90

Calls 1

formatBytesFunction · 0.85

Tested by

no test coverage detected