Page 1 of 1

MT or "switch" CPU ?

Posted: Sun Aug 29, 2021 8:13 am
by AUGE_OHR
hi,

this Demo run as many Thread as CPU Core are available.
MCPU.zip
EXE and Source
(1.29 MiB) Downloaded 59 times
it do use MT=yes and that force my i7-6700T to use 6 (of 8 ) Core using > 60 % CPU
MT_FRRACTAL.jpg
MT_FRRACTAL.jpg (145.06 KiB) Viewed 421 times
now i have a TIMER to "switch" Core of CPU.
use any parameter to enable it

Code: Select all

   MCPU.EXE XXX -> will start TIMER
this will show same Graphic to paint 1000 Lines but use < 25 % CPU
so i try to use mt=no but that make no Difference with this Demo

so what is using so much CPU ... "just" Paint some Graphic ...

Tip : start Taskmanager before run Demo and move it to right Side and watch CPU %

Re: MT or "switch" CPU ?

Posted: Sun Aug 29, 2021 11:53 am
by AUGE_OHR
have add Source

---

update Source with better Fractal Graphic
MCPU03.zip
(4.9 KiB) Downloaded 69 times
p.s. it is slower when "switch" CPU ...but not much.
still wonder why it use so much CPU % when not "switch" CPU