Re: [PATCH v3] docs/zh_CN: Add energy-model Chinese translation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022/2/8 20:38, Alex Shi wrote:
> On Tue, Feb 8, 2022 at 5:45 PM yanteng si <siyanteng01@xxxxxxxxx> wrote:
>>
>> Tang Yizhou <tangyizhou@xxxxxxxxxx> 于2022年2月8日周二 15:03写道:
>>>
>>> Translate power/energy-model.rst into Chinese.
>>>
>>> Signed-off-by: Tang Yizhou <tangyizhou@xxxxxxxxxx>
>> Reviewed-by: Yanteng Si <siyanteng@xxxxxxxxxxx>
>>> ---
>>> v3:
>>> Don't include English kernel doc.
>>>
>>> v2:
>>> Translate the comments in the example program.
>>>
>>>  .../translations/zh_CN/power/energy-model.rst | 190 ++++++++++++++++++
>>>  .../translations/zh_CN/power/index.rst        |   2 +-
>>>  2 files changed, 191 insertions(+), 1 deletion(-)
>>>  create mode 100644 Documentation/translations/zh_CN/power/energy-model.rst
>>>
>>> diff --git a/Documentation/translations/zh_CN/power/energy-model.rst b/Documentation/translations/zh_CN/power/energy-model.rst
>>> new file mode 100644
>>> index 000000000000..bcf29d624860
>>> --- /dev/null
>>> +++ b/Documentation/translations/zh_CN/power/energy-model.rst

>>> +
>>> +最后一个参数“milliwatts”(毫瓦)设置成正确的值是很重要的,使用EM的内核
>>> +子系统可能会依赖这个标志来检查所有的EM设备是否使用相同的刻度。如果有不同的
>>> +刻度,这些子系统可能决定:返回警告/错误,停止工作或恐慌(panic)。
>
 
> panic 是不是翻译成 ’崩溃‘ 更好?

OK

> 
>>> +
>>> +关于实现这个回调函数的驱动程序的例子,参见第3节。或者在第2.4节阅读这个API
>>> +的更多文档。
>>> +
>>> +
>>> +“简单”EM的注册
>>> +~~~~~~~~~~~~~~~~
>>> +
>>> +“简单”EM是用框架的辅助函数cpufreq_register_em_with_opp()注册的。它实现了
>>> +一个和以下数学公式紧密相关的功率模型::
>>> +
>>> +       Power = C * V^2 * f
>>> +
>>> +使用这种方法注册的EM可能无法正确反映真实设备的物理特性,例如当静态功率
>>> +(泄漏)很重要时。
 
> leakage 是指晶体管的 ‘漏电流' 。

Haha, you major in physics and are much familiar with this word :) Thanks. 

> 
> Thanks
> Alex
> 




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux