如何找到给定进程闲置的时间? [英] How do I find the time a given process is idle?

查看:78
本文介绍了如何找到给定进程闲置的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何找到给定进程闲置的时间?我听说过GetLastInputInfo。但这给了整个系统闲置的时间。我需要知道给定进程空闲的时间。

How do I find the time that a given process is idle? I heard of GetLastInputInfo. But that gives the time the whole system is idle. I need to know the time a given process is idle.

推荐答案

应用程序空闲 [ ^ ]


请参阅此CodeProject文章:检测应用程序空闲 [ ^ ]。



-SA
Please see this CodeProject article: Detecting Application Idleness[^].

—SA


这篇关于如何找到给定进程闲置的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆