get_sysfs_attr_as_double_uncached


Description:

public double get_sysfs_attr_as_double_uncached (string name)

Look up the sysfs attribute with name on this and convert it to a double precision floating point number using ascii_strtod.

This function does blocking I/O, and updates the sysfs attributes cache.

Parameters:

this

A Device.

name

Name of the sysfs attribute.

Returns:

The value of the sysfs attribute or 0.0 if there is no such attribute.