看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: Win10, Linux, ...) windos 編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出) vs2015 qt5.7 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 請問要怎樣跟工作管理員一樣 去抓各程式的cpu使用率 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 210.242.6.98 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1502869943.A.732.html
asd456fgh778: 去問windows 08/16 16:09
Killercat: google "PDH Windows" 08/16 16:35
MOONY135: 找了幾篇 好像都只有指定特定程式(EXE) 08/16 16:44
Killercat: http://tinyurl.com/y7q4nv7d 裡面點進去都有範例 08/16 16:52
ggBird: 可以參考 reactos 的 taskmgr.c 08/16 16:53