|
楼主 |
发表于 2006-11-12 18:52:50
|
显示全部楼层
回复: 统计运行效率
代码二:
#ifdef _DEBUG
SYSTEMTIME stStart;
ZeroMemory(&stStart, sizeof(SYSTEMTIME));
GetSystemTime(&stStart);
TRACE("__10Start__\n%d_%d_%d\n\n", stStart.wMinute,stStart.wSecond, stStart.wMilliseconds);
#endif
#ifdef _DEBUG
SYSTEMTIME stEnd;
ZeroMemory(&stEnd, sizeof(SYSTEMTIME));
GetSystemTime(&stEnd);
TRACE("__11End__\n%d_%d_%d\n\n", stEnd.wMinute,stEnd.wSecond, stEnd.wMilliseconds); |
|