Searched refs:_get_float_from_file (Results 1 – 1 of 1) sorted by relevance
/external/autotest/client/bin/ |
D | site_utils.py | 647 def _get_float_from_file(path, line, prefix, postfix): function 687 temperature = _get_float_from_file(path, 0, None, None) * 0.001 706 temperature = _get_float_from_file(path, 0, None, None) * 0.001 719 _get_float_from_file(path, 0, None, None) * 0.001) 783 frequency = _get_float_from_file(_CPUINFO, 'model name', ' @ ', 'GHz') 795 frequency = 1000 * _get_float_from_file(path, 0, None, None) 809 frequency = _get_float_from_file(path, 0, None, None) 877 mem_total = _get_float_from_file(_MEMINFO, 'MemTotal:', 'MemTotal:', ' kB') 887 mem_free = _get_float_from_file(_MEMINFO, 'MemFree:', 'MemFree:', ' kB')
|