00001 00009 #include <windows.h> 00010 #include "timing.h" 00011 00012 00013 int offset; 00014 00015 void tic() 00016 { 00017 offset = GetTickCount(); 00018 } 00019 00020 float toc() 00021 { 00022 return (float(GetTickCount()-offset)/1000.0f); 00023 }
1.4.6-NO