byteformat

simframe.utils.byteformat(b)[source]

Function returns a formatted string for given memory usage.

Parameters:

b (float) – Memory usage in bytes

Returns:

s – Formatted string of memory usage

Return type:

string