pedgarcia / cpcsdk

Automatically exported from code.google.com/p/cpcsdk
0 stars 0 forks source link

Reloaded extremely slow on core i5 #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build Reloaded on a core i5 processor
2. Launch Reloaded

What is the expected output? 
Reloaded must run at a normal speed

What do you see instead?
It is very slow and each of the 4 cores are used around 25 and 35 %.

What version of the product are you using? 
r417

On what operating system?
Linux

Please provide any additional information below.

Original issue reported on code.google.com by giot.rom...@gmail.com on 15 Sep 2010 at 4:22

GoogleCodeExporter commented 9 years ago

Original comment by giot.romain on 15 Sep 2010 at 4:24

GoogleCodeExporter commented 9 years ago
This was mentionned in #41 already.
It is apparently a problem with the timer class.
In core/timer.h line 108, try replacing the 1000 with 1 or 1000000. It should 
fix this for you.

This is because the resolution of clock_gettime is platform-dependant. There is 
a clock_getres function to do it properly, see 
http://www.tin.org/bin/man.cgi?section=3&topic=clock_gettime

Original comment by PLumeArg...@gmail.com on 15 Sep 2010 at 8:31

GoogleCodeExporter commented 9 years ago
I have try a lot of things. But I am unable to solve this problem :(

Original comment by giot.romain on 11 Oct 2010 at 9:25

GoogleCodeExporter commented 9 years ago
Issue 41 has been merged into this issue.

Original comment by pulkoma...@gmail.com on 11 Feb 2011 at 2:13

GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 11 Feb 2011 at 2:13