Programming - cpueblo.com

패킷 처리 시간 채크하기 0000.0000 대 시간 채크


글쓴이 : 유광희 날짜 : 2002-05-21 (화) 10:53 조회 : 5812
// 첨에 패킷 정보를 큐에 쌓을때
NewNode->PacketStartTime = GetTickCount();

// 패킷 처리 이후~ 큐 삭제할때~
String ProcessTime;
int NowTime = GetTickCount() - NowNode->PacketStartTime;
ProcessTime.sprintf("%03d.%04d msec", NowTime / 1000, NowTime % 1000);

냥냥..