On Monday 27 August 2018 22:51:38 code dz wrote: I get 0% CPU with your program too.
> i disabled the antivirus but the result still the same , i also > noticed that if i enabled to_leak > the cpu usage reduced to 35 to_leak drops missed calls if "interval" time already has expired if "ontimer" returns. > ok seems this problem exist only on this laptop (hp compaq 8710w > mobile workstation) , i have another pc runing windows7 and the app > almost uses 0% cpu . > > any idea on how to debug such problem ! > First check if onpaint is really called in 16 ms intervals. Add a counter in onpaint and display runtime / count. If this is OK or > 16 ms then interrupt the program by 'Target'-'Interrupt' several times and check in stack window where it normally spends time. Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

