看板 Programming 關於我們 聯絡資訊
請問一下, 如何在Visual C++之下一個process的user time的抓取? 不要是整體的CPU time而是純 "user" time. 在GNU 當中的/sys/times.h 有提供如下. 分別抓 user time 及 system time, 但是這是在Linux底下的, 而我希望的是能在windows的環境上分析 clock_t tms_utime This is the CPU time used in executing the instructions of the calling process. clock_t tms_stime This is the CPU time used by the system on behalf of the calling process. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.117.168.182