+
     Gi}  c                   s    ^ RI t ^ RIt^RIHt ^ RIHt ]P                  P                  4       t	 ! R R]P                  4      tR# )i    N)base)commandsc                   sB   a a ] tR t^t oRtV 3R ltV 3R ltRtVtV ;t	# )cpulist_packz
Conversion function: packs CPU list in form 1,2,3,5 to 1-3,5.
The cpulist_unpack is used as a preprocessor, so it always returns
optimal results. For details about input syntax see cpulist_unpack.
c                s0   < \         \        V `  R ^ 4       R# )r   N)superr   __init__)self	__class__s   &S/usr/lib/python3.14/site-packages/tuned/profiles/functions/function_cpulist_pack.pyr   Zcpulist_pack.__init__   s    d$^Q7    c                s   < \         \        V `  V4      '       g   R # RP                  R V P                  P                  RP                  V4      4       4       4      # )NZ,c              3   s8   "   T F  p\        V4      x  K  	  R # 5i)N)Zstr)Z.0Zvs   & r   Z	<genexpr>Z'cpulist_pack.execute.<locals>.<genexpr>   s     J"IQ#a&&"Is   z,,)r   r   executeZjoinZ_cmd)r   Zargsr   s   &&r   r	   Zcpulist_pack.execute   sD    	|T	*4	0	0
	J$))"8"84"IJ	JJr    )
Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r	   Z__static_attributes__Z__classdictcell__Z__classcell__)r   Z__classdict__s   @@r   r   r      s     
8K Kr   r   )ZosZ
tuned.logsZtunedZ r    Ztuned.utils.commandsr   ZlogsZgetZlogZFunctionr   r
   r   r   <module>r      s3    	   )jjnnK4== Kr   