Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pydata/numexpr
/ has_lscpu
Method
has_lscpu
numexpr3/cpuinfo.py:130–131 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
128
129
@staticmethod
130
def
has_lscpu():
131
return
len(program_paths(
'lscpu'
)) > 0
132
133
@staticmethod
134
def
has_ibm_pa_features():
Callers
1
_get_cpu_info_from_lscpu
Function · 0.80
Calls
1
program_paths
Function · 0.85
Tested by
no test coverage detected