注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

分享,态度 ·~~

—— 十年太长,五年;如果可以回到五年前,你最想对那时候的自己说什么?

 
 
 

日志

 
 

电源管理测试工具pwrtest的使用  

2010-05-26 16:56:13|  分类: Win/App |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

使用方法很简单,写好批处理,运行批处理即可以,注意运行前要关掉UAC(或者以管理员权限运行).
如:
pwrtest.exe /sleep /s:3 /c:500 /d:30 /p:30
/s:3 – 测试S3
/c:500 – 测试500次
/d:30 – 每次测试间隔30秒 (回到系统后到下次进入S3的时间,30秒为最小值)
/p:30 – 进入S3 30秒后返回 (30秒为最小值)

 

===================================================================

To learn more about the Sleep Scenario, type:

 PwrTest /sleep /? 

The PwrTest Sleep scenario supports the following command-line arguments.

Argument Description Default value

/c:n

n indicates the number of sleep cycles

/c:1

/d:n

n indicates the delay time between consecutive sleep cycles, in seconds.

/d:90

/p:n

n indicates the time the system will sleep before automatically waking for the next sleep cycle, in seconds.

/p:60

/h:y

Indicates hybrid sleep transitions should be enabled.

Current user power policy

/h:n

Indicates hybrid sleep transitions should be disabled.

Current user power policy

/t:y

Indicates sleep transitions should be marked critical. Applications and services are not able to prevent the sleep transition.

Current user power policy

/t:n

Indicates sleep transitions should not be marked critical. Applications and services are able to prevent the sleep transition.

Current user power policy

/s:n

n indicates the target sleep state(s) for the sleep transitions. Possible values are:

"all", All ACPI sleep states should be used in sequential order (S1, S3, S4, S1, S3, S4...)

"rnd", All ACPI sleep states should be used in random order (S1, S4, S3, S1, S4, S1...)

"1", Only S1 state should be used.

"3", Only S3 state ("Standby") should be used.

"4", Only S4 state ("Hibernate") should be used.

/s:3

/unattend

Indicates the system should wake unattended. PwrTest will not request the display to be enabled between each sleep cycle.

This feature is disabled by default.

  评论这张
 
阅读(2723)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017