Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, degenerate_762), 642 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 5 1 2 3 4 5
Re: minimize cpu usage [Re: rojart] #431229
10/11/13 14:07
10/11/13 14:07
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
well I meant 8-10% in total (the number that the task manager shows) . and since there are 8 threads: 1 thread = 12.5%.

so, for example if acknex.exe uses 12.5% it means its using one full core which is 3.5ghz


POTATO-MAN saves the day! - Random
Re: minimize cpu usage [Re: Kartoffel] #431231
10/11/13 14:32
10/11/13 14:32
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Ok, understood.
Can you upload exe demo or pm me?
I'll test on my pc.


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: minimize cpu usage [Re: rojart] #431232
10/11/13 15:02
10/11/13 15:02
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany


POTATO-MAN saves the day! - Random
Re: minimize cpu usage [Re: Kartoffel] #431266
10/12/13 12:51
10/12/13 12:51
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
I meant the simple music player to test it.
But with aaa.c i got ~0,03% & 0 CPU usage.
Some time ago i had similar problem with one shader on Win7 here.

Last edited by rojart; 10/12/13 20:07. Reason: wrong test results

Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: minimize cpu usage [Re: rojart] #431267
10/12/13 12:56
10/12/13 12:56
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
that's strange... I think I'll ask jcl about this.


POTATO-MAN saves the day! - Random
Re: minimize cpu usage [Re: Kartoffel] #431278
10/12/13 20:04
10/12/13 20:04
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Yes, this is very strange, forget all my testing i've posted above.
My ressourcemonitor was started in wrong way.

So, now i got ~7% cpu usage.


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: minimize cpu usage [Re: rojart] #431283
10/12/13 20:50
10/12/13 20:50
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline
Senior Member
Roel  Offline
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
There is a code snippet on the wiki about saving the cpu.
I don't know if it (still) works, it is in wdl so it could be from the A6 time.

http://opserver.de/nwik5/index.php?title=Tips_and_Tricks#Save_CPU_when_task_swiched


Check out the throwing game here: The throwing game
Re: minimize cpu usage [Re: Roel] #431284
10/12/13 21:03
10/12/13 21:03
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
This works just for task switching when you do not care about the framerate and screen refreshing...


Always learn from history, to be sure you make the same mistakes again...
Page 5 of 5 1 2 3 4 5

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1