ok

Mini Shell

Direktori : /lib/python2.7/site-packages/tuned/profiles/functions/
Upload File :
Current File : //lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyo

�
��\c@sdddlZddlZddlmZddlmZejj�Z	dej
fd��YZdS(i����Ni(tbase(tcommandstcpulist_presentcBs eZdZd�Zd�ZRS(sY
	Checks whether CPUs from list are present, returns list containing
	only present CPUs
	cCstt|�jdd�dS(NRi(tsuperRt__init__(tself((sU/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyR
scCs�tt|�j|�sdS|jjdj|��}|jj|jjd��}djd�tt	t
|�jt
|����D��S(Ns,,s/sys/devices/system/cpu/presentt,css|]}t|�VqdS(N(tstr(t.0tv((sU/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pys	<genexpr>s(RRtexecutetNonet_cmdtcpulist_unpacktjoint	read_filetsortedtlisttsettintersection(Rtargstcpustpresent((sU/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyR
s
(t__name__t
__module__t__doc__RR
(((sU/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyRs	(tost
tuned.logsttunedtRttuned.utils.commandsRtlogstgettlogtFunctionR(((sU/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyt<module>s


Zerion Mini Shell 1.0