@ 2012-06-16 @
1 timeGetTime(); #* ½Ã°£´Ù·ç±â ; http://www.gpgstudy.com/gpgiki/%BD%C3%B0%A3%20%B4%D9%B7%E7%B1%E2#heading15
timeGetTime()
#pragma comment(lib, "winmm.lib")
GetTickCount()#include <mmsystem.h>
#include <Windows.h>
QueryPerformanceFrequency()QueryPerformanceCounter()- ¸î¸î CPU¿¡¼± Ŭ·°ÀÌ °Ç³Ê¶Ú´Ù´Â º¸°í°¡ ÀÖÀ½...
CPU Ŭ·°¿¡ »ó°üÀÌ ¾ø´Â timeGetTime()ÇÔ¼ö¸¦ »ç¿ë
2 Win32API/ GetLocalTime(...); #@ 2012-06-15 @¢¹ Á¤ÀÇ
¢¹ Çìµå ÆÄÀÏ Á¤ÀÇ // C:\... \ microsoft visual studio 8\ vc\ platformsdk\ include\ winbase.h typedef struct _SYSTEMTIME {
WORD wYear;
} SYSTEMTIME, *PSYSTEMTIME, *LPSYSTEMTIME;WORD wMonth; WORD wDayOfWeek; WORD wDay; WORD wHour; WORD wMinute; WORD wSecond; WORD wMilliseconds;
WINBASEAPI
VOID WINAPI GetSystemTime(
__out LPSYSTEMTIME lpSystemTime
WINBASEAPI); VOID WINAPI SetSystemTime(
__in CONST SYSTEMTIME *lpSystemTime
WINBASEAPI); VOID WINAPI GetLocalTime(
__out LPSYSTEMTIME lpSystemTime
WINBASEAPI); VOID WINAPI SetLocalTime(
__in CONST SYSTEMTIME *lpSystemTime
¢¹ »ç¿ë); SYSTEMTIME sysTime; GetLocalTime( &sysTime ); |
Á¤º¸´Â °øÂ¥ÀÌ±æ ¿øÇÑ´Ù. HotDraw ¹Ù¶÷06_2011 Ã¥°¥ÇÇ_book_KnowHow edu2016_humanities |