hw_buffutil()

Returns the current buffer utilization as a floating-point value between 0.0 and 1.0.

Syntax

planetcnc.hw_buffutil()

Parameters

Parameter Type Description Comment
None

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
util = planetcnc.hw_buffutil()
print("Buffer Utilization:", util)

See also