€•_€Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ+/translations/zh_CN/power/powercap/powercap”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ+/translations/zh_TW/power/powercap/powercap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ+/translations/it_IT/power/powercap/powercap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ+/translations/ja_JP/power/powercap/powercap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ+/translations/ko_KR/power/powercap/powercap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ+/translations/pt_BR/power/powercap/powercap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ+/translations/sp_SP/power/powercap/powercap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒPower Capping Framework”h]”hŒPower Capping Framework”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒE/var/lib/git/docbuild/linux/Documentation/power/powercap/powercap.rst”h´KubhŒ paragraph”“”)�”}”(hŒºThe power capping framework provides a consistent interface between the kernel and the user space that allows power capping drivers to expose the settings to user space in a uniform way.”h]”hŒºThe power capping framework provides a consistent interface between the kernel and the user space that allows power capping drivers to expose the settings to user space in a uniform way.”…”�”}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ Terminology”h]”hŒ Terminology”…”�”}”(hhÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhhÛh²hh³hÊh´K ubhÌ)�”}”(hX¼The framework exposes power capping devices to user space via sysfs in the form of a tree of objects. The objects at the root level of the tree represent 'control types', which correspond to different methods of power capping. For example, the intel-rapl control type represents the Intel "Running Average Power Limit" (RAPL) technology, whereas the 'idle-injection' control type corresponds to the use of idle injection for controlling power.”h]”hXÈThe framework exposes power capping devices to user space via sysfs in the form of a tree of objects. The objects at the root level of the tree represent ‘control types’, which correspond to different methods of power capping. For example, the intel-rapl control type represents the Intel “Running Average Power Limitâ€� (RAPL) technology, whereas the ‘idle-injection’ control type corresponds to the use of idle injection for controlling power.”…”�”}”(hhìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhÛh²hubhÌ)�”}”(hXSPower zones represent different parts of the system, which can be controlled and monitored using the power capping method determined by the control type the given zone belongs to. They each contain attributes for monitoring power, as well as controls represented in the form of power constraints. If the parts of the system represented by different power zones are hierarchical (that is, one bigger part consists of multiple smaller parts that each have their own power controls), those power zones may also be organized in a hierarchy with one parent power zone containing multiple subzones and so on to reflect the power control topology of the system. In that case, it is possible to apply power capping to a set of devices together using the parent power zone and if more fine grained control is required, it can be applied through the subzones.”h]”hXSPower zones represent different parts of the system, which can be controlled and monitored using the power capping method determined by the control type the given zone belongs to. They each contain attributes for monitoring power, as well as controls represented in the form of power constraints. If the parts of the system represented by different power zones are hierarchical (that is, one bigger part consists of multiple smaller parts that each have their own power controls), those power zones may also be organized in a hierarchy with one parent power zone containing multiple subzones and so on to reflect the power control topology of the system. In that case, it is possible to apply power capping to a set of devices together using the parent power zone and if more fine grained control is required, it can be applied through the subzones.”…”�”}”(hhúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhhÛh²hubhÌ)�”}”(hŒExample sysfs interface tree::”h]”hŒExample sysfs interface tree:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhÛh²hubhŒ literal_block”“”)�”}”(hXÄ/sys/devices/virtual/powercap └──intel-rapl ├──intel-rapl:0 │   ├──constraint_0_name │   ├──constraint_0_power_limit_uw │   ├──constraint_0_time_window_us │   ├──constraint_1_name │   ├──constraint_1_power_limit_uw │   ├──constraint_1_time_window_us │   ├──device -> ../../intel-rapl │   ├──energy_uj │   ├──intel-rapl:0:0 │   │   ├──constraint_0_name │   │   ├──constraint_0_power_limit_uw │   │   ├──constraint_0_time_window_us │   │   ├──constraint_1_name │   │   ├──constraint_1_power_limit_uw │   │   ├──constraint_1_time_window_us │   │   ├──device -> ../../intel-rapl:0 │   │   ├──energy_uj │   │   ├──max_energy_range_uj │   │   ├──name │   │   ├──enabled │   │   ├──power │   │   │   ├──async │   │   │   [] │   │   ├──subsystem -> ../../../../../../class/power_cap │   │   └──uevent │   ├──intel-rapl:0:1 │   │   ├──constraint_0_name │   │   ├──constraint_0_power_limit_uw │   │   ├──constraint_0_time_window_us │   │   ├──constraint_1_name │   │   ├──constraint_1_power_limit_uw │   │   ├──constraint_1_time_window_us │   │   ├──device -> ../../intel-rapl:0 │   │   ├──energy_uj │   │   ├──max_energy_range_uj │   │   ├──name │   │   ├──enabled │   │   ├──power │   │   │   ├──async │   │   │   [] │   │   ├──subsystem -> ../../../../../../class/power_cap │   │   └──uevent │   ├──max_energy_range_uj │   ├──max_power_range_uw │   ├──name │   ├──enabled │   ├──power │   │   ├──async │   │   [] │   ├──subsystem -> ../../../../../class/power_cap │   ├──enabled │   ├──uevent ├──intel-rapl:1 │   ├──constraint_0_name │   ├──constraint_0_power_limit_uw │   ├──constraint_0_time_window_us │   ├──constraint_1_name │   ├──constraint_1_power_limit_uw │   ├──constraint_1_time_window_us │   ├──device -> ../../intel-rapl │   ├──energy_uj │   ├──intel-rapl:1:0 │   │   ├──constraint_0_name │   │   ├──constraint_0_power_limit_uw │   │   ├──constraint_0_time_window_us │   │   ├──constraint_1_name │   │   ├──constraint_1_power_limit_uw │   │   ├──constraint_1_time_window_us │   │   ├──device -> ../../intel-rapl:1 │   │   ├──energy_uj │   │   ├──max_energy_range_uj │   │   ├──name │   │   ├──enabled │   │   ├──power │   │   │   ├──async │   │   │   [] │   │   ├──subsystem -> ../../../../../../class/power_cap │   │   └──uevent │   ├──intel-rapl:1:1 │   │   ├──constraint_0_name │   │   ├──constraint_0_power_limit_uw │   │   ├──constraint_0_time_window_us │   │   ├──constraint_1_name │   │   ├──constraint_1_power_limit_uw │   │   ├──constraint_1_time_window_us │   │   ├──device -> ../../intel-rapl:1 │   │   ├──energy_uj │   │   ├──max_energy_range_uj │   │   ├──name │   │   ├──enabled │   │   ├──power │   │   │   ├──async │   │   │   [] │   │   ├──subsystem -> ../../../../../../class/power_cap │   │   └──uevent │   ├──max_energy_range_uj │   ├──max_power_range_uw │   ├──name │   ├──enabled │   ├──power │   │   ├──async │   │   [] │   ├──subsystem -> ../../../../../class/power_cap │   ├──uevent ├──power │   ├──async │   [] ├──subsystem -> ../../../../class/power_cap ├──enabled └──uevent”h]”hXÄ/sys/devices/virtual/powercap └──intel-rapl ├──intel-rapl:0 │   ├──constraint_0_name │   ├──constraint_0_power_limit_uw │   ├──constraint_0_time_window_us │   ├──constraint_1_name │   ├──constraint_1_power_limit_uw │   ├──constraint_1_time_window_us │   ├──device -> ../../intel-rapl │   ├──energy_uj │   ├──intel-rapl:0:0 │   │   ├──constraint_0_name │   │   ├──constraint_0_power_limit_uw │   │   ├──constraint_0_time_window_us │   │   ├──constraint_1_name │   │   ├──constraint_1_power_limit_uw │   │   ├──constraint_1_time_window_us │   │   ├──device -> ../../intel-rapl:0 │   │   ├──energy_uj │   │   ├──max_energy_range_uj │   │   ├──name │   │   ├──enabled │   │   ├──power │   │   │   ├──async │   │   │   [] │   │   ├──subsystem -> ../../../../../../class/power_cap │   │   └──uevent │   ├──intel-rapl:0:1 │   │   ├──constraint_0_name │   │   ├──constraint_0_power_limit_uw │   │   ├──constraint_0_time_window_us │   │   ├──constraint_1_name │   │   ├──constraint_1_power_limit_uw │   │   ├──constraint_1_time_window_us │   │   ├──device -> ../../intel-rapl:0 │   │   ├──energy_uj │   │   ├──max_energy_range_uj │   │   ├──name │   │   ├──enabled │   │   ├──power │   │   │   ├──async │   │   │   [] │   │   ├──subsystem -> ../../../../../../class/power_cap │   │   └──uevent │   ├──max_energy_range_uj │   ├──max_power_range_uw │   ├──name │   ├──enabled │   ├──power │   │   ├──async │   │   [] │   ├──subsystem -> ../../../../../class/power_cap │   ├──enabled │   ├──uevent ├──intel-rapl:1 │   ├──constraint_0_name │   ├──constraint_0_power_limit_uw │   ├──constraint_0_time_window_us │   ├──constraint_1_name │   ├──constraint_1_power_limit_uw │   ├──constraint_1_time_window_us │   ├──device -> ../../intel-rapl │   ├──energy_uj │   ├──intel-rapl:1:0 │   │   ├──constraint_0_name │   │   ├──constraint_0_power_limit_uw │   │   ├──constraint_0_time_window_us │   │   ├──constraint_1_name │   │   ├──constraint_1_power_limit_uw │   │   ├──constraint_1_time_window_us │   │   ├──device -> ../../intel-rapl:1 │   │   ├──energy_uj │   │   ├──max_energy_range_uj │   │   ├──name │   │   ├──enabled │   │   ├──power │   │   │   ├──async │   │   │   [] │   │   ├──subsystem -> ../../../../../../class/power_cap │   │   └──uevent │   ├──intel-rapl:1:1 │   │   ├──constraint_0_name │   │   ├──constraint_0_power_limit_uw │   │   ├──constraint_0_time_window_us │   │   ├──constraint_1_name │   │   ├──constraint_1_power_limit_uw │   │   ├──constraint_1_time_window_us │   │   ├──device -> ../../intel-rapl:1 │   │   ├──energy_uj │   │   ├──max_energy_range_uj │   │   ├──name │   │   ├──enabled │   │   ├──power │   │   │   ├──async │   │   │   [] │   │   ├──subsystem -> ../../../../../../class/power_cap │   │   └──uevent │   ├──max_energy_range_uj │   ├──max_power_range_uw │   ├──name │   ├──enabled │   ├──power │   │   ├──async │   │   [] │   ├──subsystem -> ../../../../../class/power_cap │   ├──uevent ├──power │   ├──async │   [] ├──subsystem -> ../../../../class/power_cap ├──enabled └──uevent”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jh³hÊh´K"hhÛh²hubhÌ)�”}”(hX‡The above example illustrates a case in which the Intel RAPL technology, available in Intel® IA-64 and IA-32 Processor Architectures, is used. There is one control type called intel-rapl which contains two power zones, intel-rapl:0 and intel-rapl:1, representing CPU packages. Each of these power zones contains two subzones, intel-rapl:j:0 and intel-rapl:j:1 (j = 0, 1), representing the "core" and the "uncore" parts of the given CPU package, respectively. All of the zones and subzones contain energy monitoring attributes (energy_uj, max_energy_range_uj) and constraint attributes (constraint_*) allowing controls to be applied (the constraints in the 'package' power zones apply to the whole CPU packages and the subzone constraints only apply to the respective parts of the given package individually). Since Intel RAPL doesn't provide instantaneous power value, there is no power_uw attribute.”h]”hX•The above example illustrates a case in which the Intel RAPL technology, available in Intel® IA-64 and IA-32 Processor Architectures, is used. There is one control type called intel-rapl which contains two power zones, intel-rapl:0 and intel-rapl:1, representing CPU packages. Each of these power zones contains two subzones, intel-rapl:j:0 and intel-rapl:j:1 (j = 0, 1), representing the “coreâ€� and the “uncoreâ€� parts of the given CPU package, respectively. All of the zones and subzones contain energy monitoring attributes (energy_uj, max_energy_range_uj) and constraint attributes (constraint_*) allowing controls to be applied (the constraints in the ‘package’ power zones apply to the whole CPU packages and the subzone constraints only apply to the respective parts of the given package individually). Since Intel RAPL doesn’t provide instantaneous power value, there is no power_uw attribute.”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K”hhÛh²hubhÌ)�”}”(hŒ˜In addition to that, each power zone contains a name attribute, allowing the part of the system represented by that zone to be identified. For example::”h]”hŒ—In addition to that, each power zone contains a name attribute, allowing the part of the system represented by that zone to be identified. For example:”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¡hhÛh²hubj)�”}”(hŒ5cat /sys/class/power_cap/intel-rapl/intel-rapl:0/name”h]”hŒ5cat /sys/class/power_cap/intel-rapl/intel-rapl:0/name”…”�”}”hjDsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´K¥hhÛh²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ package-0”h]”hŒ package-0”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjRh²hh³hÊh´K¨ubhÌ)�”}”(hXÂDepending on different power zones, the Intel RAPL technology allows one or multiple constraints like short term, long term and peak power, with different time windows to be applied to each power zone. All the zones contain attributes representing the constraint names, power limits and the sizes of the time windows. Note that time window is not applicable to peak power. Here, constraint_j_* attributes correspond to the jth constraint (j = 0,1,2).”h]”hXÂDepending on different power zones, the Intel RAPL technology allows one or multiple constraints like short term, long term and peak power, with different time windows to be applied to each power zone. All the zones contain attributes representing the constraint names, power limits and the sizes of the time windows. Note that time window is not applicable to peak power. Here, constraint_j_* attributes correspond to the jth constraint (j = 0,1,2).”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KªhjRh²hubhÌ)�”}”(hŒ For example::”h]”hŒ For example:”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K²hjRh²hubj)�”}”(hŒÝconstraint_0_name constraint_0_power_limit_uw constraint_0_time_window_us constraint_1_name constraint_1_power_limit_uw constraint_1_time_window_us constraint_2_name constraint_2_power_limit_uw constraint_2_time_window_us”h]”hŒÝconstraint_0_name constraint_0_power_limit_uw constraint_0_time_window_us constraint_1_name constraint_1_power_limit_uw constraint_1_time_window_us constraint_2_name constraint_2_power_limit_uw constraint_2_time_window_us”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´K´hjRh²hubeh}”(h]”Œ package-0”ah ]”h"]”Œ package-0”ah$]”h&]”uh1hµhhÛh²hh³hÊh´K¨ubeh}”(h]”Œ terminology”ah ]”h"]”Œ terminology”ah$]”h&]”uh1hµhh·h²hh³hÊh´K ubh¶)�”}”(hhh]”(h»)�”}”(hŒPower Zone Attributes”h]”hŒPower Zone Attributes”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj�h²hh³hÊh´K¿ubh¶)�”}”(hhh]”(h»)�”}”(hŒMonitoring attributes”h]”hŒMonitoring attributes”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj®h²hh³hÊh´KÂubhŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒŽenergy_uj (rw) Current energy counter in micro joules. Write "0" to reset. If the counter can not be reset, then this attribute is read only. ”h]”(hŒterm”“”)�”}”(hŒenergy_uj (rw)”h]”hŒenergy_uj (rw)”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KÆhjÆubhŒ definition”“”)�”}”(hhh]”hÌ)�”}”(hŒ~Current energy counter in micro joules. Write "0" to reset. If the counter can not be reset, then this attribute is read only.”h]”hŒ‚Current energy counter in micro joules. Write “0â€� to reset. If the counter can not be reset, then this attribute is read only.”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÅhjÜubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´KÆhjÁubjÅ)�”}”(hŒLmax_energy_range_uj (ro) Range of the above energy counter in micro-joules. ”h]”(jË)�”}”(hŒmax_energy_range_uj (ro)”h]”hŒmax_energy_range_uj (ro)”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KÉhjùubjÛ)�”}”(hhh]”hÌ)�”}”(hŒ2Range of the above energy counter in micro-joules.”h]”hŒ2Range of the above energy counter in micro-joules.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÉhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjùubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´KÉhjÁh²hubjÅ)�”}”(hŒ,power_uw (ro) Current power in micro watts. ”h]”(jË)�”}”(hŒ power_uw (ro)”h]”hŒ power_uw (ro)”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KÌhj(ubjÛ)�”}”(hhh]”hÌ)�”}”(hŒCurrent power in micro watts.”h]”hŒCurrent power in micro watts.”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÌhj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhj(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´KÌhjÁh²hubjÅ)�”}”(hŒGmax_power_range_uw (ro) Range of the above power value in micro-watts. ”h]”(jË)�”}”(hŒmax_power_range_uw (ro)”h]”hŒmax_power_range_uw (ro)”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KÏhjWubjÛ)�”}”(hhh]”hÌ)�”}”(hŒ.Range of the above power value in micro-watts.”h]”hŒ.Range of the above power value in micro-watts.”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÏhjiubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjWubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´KÏhjÁh²hubjÅ)�”}”(hŒ#name (ro) Name of this power zone. ”h]”(jË)�”}”(hŒ name (ro)”h]”hŒ name (ro)”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KÒhj†ubjÛ)�”}”(hhh]”hÌ)�”}”(hŒName of this power zone.”h]”hŒName of this power zone.”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÒhj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhj†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´KÒhjÁh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¿hj®h²hh³hÊh´NubhÌ)�”}”(hŒrIt is possible that some domains have both power ranges and energy counter ranges; however, only one is mandatory.”h]”hŒrIt is possible that some domains have both power ranges and energy counter ranges; however, only one is mandatory.”…”�”}”(hj»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÔhj®h²hubeh}”(h]”Œmonitoring-attributes”ah ]”h"]”Œmonitoring attributes”ah$]”h&]”uh1hµhj�h²hh³hÊh´KÂubh¶)�”}”(hhh]”(h»)�”}”(hŒ Constraints”h]”hŒ Constraints”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÑh²hh³hÊh´KØubjÀ)�”}”(hhh]”(jÅ)�”}”(hŒ˜constraint_X_power_limit_uw (rw) Power limit in micro watts, which should be applicable for the time window specified by "constraint_X_time_window_us". ”h]”(jË)�”}”(hŒ constraint_X_power_limit_uw (rw)”h]”hŒ constraint_X_power_limit_uw (rw)”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KÜhjåubjÛ)�”}”(hhh]”hÌ)�”}”(hŒvPower limit in micro watts, which should be applicable for the time window specified by "constraint_X_time_window_us".”h]”hŒzPower limit in micro watts, which should be applicable for the time window specified by “constraint_X_time_window_usâ€�.”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÛhj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjåubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´KÜhjâubjÅ)�”}”(hŒ?constraint_X_time_window_us (rw) Time window in micro seconds. ”h]”(jË)�”}”(hŒ constraint_X_time_window_us (rw)”h]”hŒ constraint_X_time_window_us (rw)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KßhjubjÛ)�”}”(hhh]”hÌ)�”}”(hŒTime window in micro seconds.”h]”hŒTime window in micro seconds.”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kßhj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´Kßhjâh²hubjÅ)�”}”(hŒ:constraint_X_name (ro) An optional name of the constraint ”h]”(jË)�”}”(hŒconstraint_X_name (ro)”h]”hŒconstraint_X_name (ro)”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KâhjCubjÛ)�”}”(hhh]”hÌ)�”}”(hŒ"An optional name of the constraint”h]”hŒ"An optional name of the constraint”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KâhjUubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´Kâhjâh²hubjÅ)�”}”(hŒDconstraint_X_max_power_uw(ro) Maximum allowed power in micro watts. ”h]”(jË)�”}”(hŒconstraint_X_max_power_uw(ro)”h]”hŒconstraint_X_max_power_uw(ro)”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KåhjrubjÛ)�”}”(hhh]”hÌ)�”}”(hŒ%Maximum allowed power in micro watts.”h]”hŒ%Maximum allowed power in micro watts.”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kåhj„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjrubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´Kåhjâh²hubjÅ)�”}”(hŒDconstraint_X_min_power_uw(ro) Minimum allowed power in micro watts. ”h]”(jË)�”}”(hŒconstraint_X_min_power_uw(ro)”h]”hŒconstraint_X_min_power_uw(ro)”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´Kèhj¡ubjÛ)�”}”(hhh]”hÌ)�”}”(hŒ%Minimum allowed power in micro watts.”h]”hŒ%Minimum allowed power in micro watts.”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kèhj³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhj¡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´Kèhjâh²hubjÅ)�”}”(hŒRconstraint_X_max_time_window_us(ro) Maximum allowed time window in micro seconds. ”h]”(jË)�”}”(hŒ#constraint_X_max_time_window_us(ro)”h]”hŒ#constraint_X_max_time_window_us(ro)”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KëhjÐubjÛ)�”}”(hhh]”hÌ)�”}”(hŒ-Maximum allowed time window in micro seconds.”h]”hŒ-Maximum allowed time window in micro seconds.”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Këhjâubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjÐubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´Këhjâh²hubjÅ)�”}”(hŒRconstraint_X_min_time_window_us(ro) Minimum allowed time window in micro seconds. ”h]”(jË)�”}”(hŒ#constraint_X_min_time_window_us(ro)”h]”hŒ#constraint_X_min_time_window_us(ro)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÊh³hÊh´KîhjÿubjÛ)�”}”(hhh]”hÌ)�”}”(hŒ-Minimum allowed time window in micro seconds.”h]”hŒ-Minimum allowed time window in micro seconds.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kîhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄh³hÊh´Kîhjâh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¿hjÑh²hh³hÊh´NubhÌ)�”}”(hŒCExcept power_limit_uw and time_window_us other fields are optional.”h]”hŒCExcept power_limit_uw and time_window_us other fields are optional.”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KðhjÑh²hubeh}”(h]”Œ constraints”ah ]”h"]”Œ constraints”ah$]”h&]”uh1hµhj�h²hh³hÊh´KØubh¶)�”}”(hhh]”(h»)�”}”(hŒ'Common zone and control type attributes”h]”hŒ'Common zone and control type attributes”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjJh²hh³hÊh´KóubhÌ)�”}”(hŒZenabled (rw): Enable/Disable controls at zone level or for all zones using a control type.”h]”hŒZenabled (rw): Enable/Disable controls at zone level or for all zones using a control type.”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KõhjJh²hubeh}”(h]”Œ'common-zone-and-control-type-attributes”ah ]”h"]”Œ'common zone and control type attributes”ah$]”h&]”uh1hµhj�h²hh³hÊh´Kóubeh}”(h]”Œpower-zone-attributes”ah ]”h"]”Œpower zone attributes”ah$]”h&]”uh1hµhh·h²hh³hÊh´K¿ubh¶)�”}”(hhh]”(h»)�”}”(hŒ!Power Cap Client Driver Interface”h]”hŒ!Power Cap Client Driver Interface”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjyh²hh³hÊh´KùubhÌ)�”}”(hŒThe API summary:”h]”hŒThe API summary:”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kûhjyh²hubhÌ)�”}”(hX”Call powercap_register_control_type() to register control type object. Call powercap_register_zone() to register a power zone (under a given control type), either as a top-level power zone or as a subzone of another power zone registered earlier. The number of constraints in a power zone and the corresponding callbacks have to be defined prior to calling powercap_register_zone() to register that zone.”h]”hX”Call powercap_register_control_type() to register control type object. Call powercap_register_zone() to register a power zone (under a given control type), either as a top-level power zone or as a subzone of another power zone registered earlier. The number of constraints in a power zone and the corresponding callbacks have to be defined prior to calling powercap_register_zone() to register that zone.”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kýhjyh²hubhÌ)�”}”(hŒÈTo Free a power zone call powercap_unregister_zone(). To free a control type object call powercap_unregister_control_type(). Detailed API can be generated using kernel-doc on include/linux/powercap.h.”h]”hŒÈTo Free a power zone call powercap_unregister_zone(). To free a control type object call powercap_unregister_control_type(). Detailed API can be generated using kernel-doc on include/linux/powercap.h.”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhjyh²hubeh}”(h]”Œ!power-cap-client-driver-interface”ah ]”h"]”Œ!power cap client driver interface”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kùubeh}”(h]”Œpower-capping-framework”ah ]”h"]”Œpower capping framework”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jçŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jÁj¾jšj—j’j�jvjsjÎjËjGjDjnjkj¹j¶uŒ nametypes”}”(jÁ‰jš‰j’‰jv‰jΉjG‰jn‰j¹‰uh}”(j¾h·j—hÛj�jRjsj�jËj®jDjÑjkjJj¶jyuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.