摘要: 从编程之美上抄来的代码效果不是很好,即使前面加上SetProcessAffinityMask(GetCurrentProcess(), 0x00000001);也不行http://www.cnblogs.com/leading/archive/2012/03/21/make_windows_task_manager_show_sine_wave_cpu_usage.html这篇文章的图很漂亮,但在我的机器上出不来这么好的效果后来自己用PerformanceCounter做,波峰还不错,波谷不太正常 private void SetCpuCore() { ... 阅读全文
posted @ 2013-07-29 14:26 ^^! 阅读(487) 评论(0) 推荐(0) 编辑