static void DJO_winApi(Args _args)
{
int64 startTime, endTime;
int64 time;
;
startTime = WinAPI::getTickCount64();
sleep(5000);
endTime = WinAPI::getTickCount64();
time = endTime - startTime;
info(strFmt("le temps total consommé est %1 milliseconde", time));
}
vous pouvez consulter les deux autre solution timeNow() et stopWatch()
Aucun commentaire:
Enregistrer un commentaire