-
在win32汇编如何得到进程CPU占用率想模拟一个任务管理器的CPU占用率我的想法是得到进程ID的情况下用OpenProcess打开进程 有些进程没有权限的也不知道该怎么处理?然后再用GetProcessTimes得到进程的内核模式上的总时间和用户模式上的总时间 然后用高精度的QueryPerformanceCounter取两个时间点计算时间间隔两个时间相除得到最后的比值我现在不清楚应该whatday 时间:12-04 + 阅读全文
-
PROCESS_QUERY_INFORMATION未定义错误怎么解决在使用GetProcessMemoryInfo时用到了PROCESS_QUERY_INFORMATION但是报错未定义在win32汇编中包含了includepsapi.incincludelibpsapi.lib在子程序中定义用到local@stMemoryInfo:PROCESS_MEMORY_COUNTERS编译报错 undefinedsymbol:Pwhatday 时间:12-03 + 阅读全文
-
cx执行到3的时候就崩溃了,怎么回事?Assemblycodeassumecs:codeasegmentdw1,2,3,4,5,6,7,8,9,0ah,0bh,0ch,0dh,0eh,0fh,0ffhaendsbsegmentdw0,0,0,0,0,0,0,0bendscodesegmentstart:movax,amovds,axmhaolly 时间:12-03 + 阅读全文
-
求教求教 汇编程序 哪里出错了???在屏幕上显示ASCII表includeio32.inc.datamsg1byte'|0123456789ABCDEF',0msg2byte'---+---------------------------------',0dvarbyte'20|',32dup(?),13,10,'30|',32dup(?),0dh,0ah,'40|',32dup(?),bbbwolfe 时间:12-02 + 阅读全文
-
用keil编译asm文件时出现file does not exist是怎么回事、请各位大虾帮帮忙,小的在用keil编译汇编程序asm文件时出现filedoesnotexist,请问该如何解决?谢谢了wangxiujun2012 时间:12-02 + 阅读全文
-
Tutorial : how to trace FPU error using peter-bochshttp://code.google.com/p/peter-bochs/wiki/tutorial_fpu_errorcmk128 时间:12-02 + 阅读全文