Page 2 of 2

SVN470 Download & Infos

Posted: Sun Mar 30, 2008 7:00 pm
by spacy51

I don't think the CPUID instruction is Intel-specific, but probably not all fields are supported by every processor.

 

try

Code: Select all

int VBA::detectCpuCores()
{
       SYSTEM_INFO info;

   GetSystemInfo(&info);
   return info.dwNumberOfProcessors;
}

<div>

</div>

 

I must have overlooked this in the SDK, thank you, I'll use that instead.

 

 

Edit:

Patch uploaded: SVN472

 

 

The next step is to add some code to remove the visible border of the filter areas.

 

 

Edit2:

Here are some results with my CPU underclocked:

C2D E6300 @ 266 MHz * 6 = 1600 MHz

Aeneon 4GB @ DDR2-800 5-5-5-16

 

Advance Wars 2 custom battle scene, HQ4x:

2 cores: 140%

1 core: 120%


SVN470 Download & Infos

Posted: Fri Apr 04, 2008 8:17 pm
by spacy51

I just added the possibility to enable/disable this feature for D3D.

 

I also reduced the maximum number of threads to use from 16 to 8 so the image won't look too bad with 8 filter borders. ANything above 8 cores will possibly have enough calculation power anyway.

 

My next task will be to work on thread->core assignments sicne I have the feeling windows often executes all the threads on the same core [img]<fileStore.core_Emoticons>/emoticons/unsure.png[/img]/emoticons/unsure@2x.png 2x" width="20" height="20" />