changeset 110 | a05e8b30c024 |
parent 79 | ae06c2da83f7 |
child 196 | 93d06827e31b |
--- a/runtime/plc_Win32_main.c Fri Feb 22 19:04:01 2008 +0100 +++ b/runtime/plc_Win32_main.c Sun Feb 24 02:06:42 2008 +0100 @@ -3,10 +3,15 @@ #include <time.h> #include <windows.h> +int localcount = 0; + void timer_notify() { struct _timeb timebuffer; - printf("."); + if(++localcount % 50 == 0){ + printf("PLC tick : %d\n",localcount); + fflush(stdout); + } _ftime( &timebuffer ); __CURRENT_TIME.tv_sec = timebuffer.time;