Ñò
J3Kc @ s d e f d „ ƒ YZ d S( t dstat_pluginc B s; e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( s:
CPU frequency in percentage as reported by ACPI.
c C s( d | _ d | _ d | _ d | _ d S( Nt frequencyt pi i" ( t namet typet widtht scale( t self( ( s! /usr/share/dstat/dstat_cpufreq.pyt __init__ s c C sU xN t i d ƒ D]= } t i | d t i ƒ p t d t i i | ƒ ‚ q q Wd S( Ns! /sys/devices/system/cpu/cpu[0-9]*s /cpufreq/scaling_cur_freqs+ Cannot access acpi %s frequency information( t globt ost accesst R_OKt Exceptiont patht basename( R t cpu( ( s! /usr/share/dstat/dstat_cpufreq.pyt check s c C sG g } x0 t i d ƒ D] } | i t i i | ƒ ƒ q W| i ƒ | S( Ns! /sys/devices/system/cpu/cpu[0-9]*( R t appendR
R R t sort( R t retR ( ( s! /usr/share/dstat/dstat_cpufreq.pyt vars s
c C s( g } | i D] } | | i ƒ q ~ S( N( R t lower( R t _[1]R ( ( s! /usr/share/dstat/dstat_cpufreq.pyt nick s c C s' x | i D]} x> t d | d ƒ i ƒ D]" } | i ƒ } t | d ƒ } q+ Wx> t d | d ƒ i ƒ D]" } | i ƒ } t | d ƒ } ql Wt d | d ƒ | i | | d | | i |