Nouk
驱动中牛
驱动中牛
  • 注册日期2001-08-22
  • 最后登录2006-10-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1167回复:3

How to know the system idle time or is idle!?

楼主#
更多 发布于:2002-07-15 12:45
In user mode and kernel mode?
I don\'t want to polling the performance counter.
I need some callback functions.
Thx a lot.

[编辑 -  7/15/02 by  Nouk]

最新喜欢:

xiangshifuxiangs...
Taiwan's Driver Developer
pjf
pjf
驱动中牛
驱动中牛
  • 注册日期2001-07-08
  • 最后登录2006-10-23
  • 粉丝0
  • 关注0
  • 积分42分
  • 威望4点
  • 贡献值0点
  • 好评度4点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-07-15 12:57
In user mode and kernel mode?
I don\'t want to polling performace counter.
I need some callback functions.
Thx a lot.


callback? do it yourself:
hook HalProcessorIdle().
it\'s in hal.dll.
try
Nouk
驱动中牛
驱动中牛
  • 注册日期2001-08-22
  • 最后登录2006-10-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-07-15 14:14
Thx ur answer.
It\'s nice:P
And the related problem:
1.If in 9x ,how to know!?
2.If in user mode,how to know?(I don\'t have window ,so I don\'t have WM_IDLE..etc)

I ever look the
http://216.239.35.100/search?q=cache:vfeDrioA6GcC:www.chinawolf.com/~lu0/NTSPEEDUP.html+HalProcessorIdle&hl=zh-TW&start=6&ie=UTF-8
Taiwan's Driver Developer
pjf
pjf
驱动中牛
驱动中牛
  • 注册日期2001-07-08
  • 最后登录2006-10-23
  • 粉丝0
  • 关注0
  • 积分42分
  • 威望4点
  • 贡献值0点
  • 好评度4点
  • 原创分0分
  • 专家分0分
地板#
发布于:2002-07-15 15:15
Thx ur answer.
It\'s nice:P
And the related problem:
1.If in 9x ,how to know!?
2.If in user mode,how to know?(I don\'t have window ,so I don\'t have WM_IDLE..etc)

I ever look the
http://216.239.35.100/search?q=cache:vfeDrioA6GcC:www.chinawolf.com/~lu0/NTSPEEDUP.html+HalProcessorIdle&hl=zh-TW&start=6&ie=UTF-8
 

In 9x,this is a service:
Call_When_Idle
游客

返回顶部