Re: [fpc-pascal] number of cpu cores

2008-12-15 Thread Inoussa OUEDRAOGO
2008/12/14 Marc Weustink : > Mattias Gaertner wrote: >> >> At the moment I have the attached function. >> It returns only 4 on a 2 x quad core Mac. >> Maybe someone can test under windows? Return 2 on Intel Core Duo -- Inoussa O. ___ fpc-pascal maillis

Re: [fpc-pascal] number of cpu cores

2008-12-13 Thread Marc Weustink
Mattias Gaertner wrote: At the moment I have the attached function. It returns only 4 on a 2 x quad core Mac. Maybe someone can test under windows? returns 4 on a quadcore xp64 Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:/

Re: [fpc-pascal] number of cpu cores

2008-12-13 Thread Howard Page-Clark
On Sat, 13 Dec 2008 17:17:31 +0100 Mattias Gaertner wrote: > Thanks for all the hints. > > At the moment I have the attached function. > It returns only 4 on a 2 x quad core Mac. > Maybe someone can test under windows? The function returns 2 on my Pentium 4 (Win XP) Howard Page-Clark _

Re: [fpc-pascal] number of cpu cores

2008-12-13 Thread Robert Wolfe
On 12/13/2008 11:17 AM, Mattias Gaertner wrote: On Sat, 29 Nov 2008 19:14:39 +0100 (CET) mar...@stack.nl (Marco van de Voort) wrote: In our previous episode, Michalis Kamburelis said: [ Charset ISO-8859-1 unsupported, converting... ] Florian Klaempfl wrote: Mattias Gaertner

Re[2]: [fpc-pascal] number of cpu cores

2008-12-13 Thread JoshyFun
Hello Mattias, Saturday, December 13, 2008, 5:17:31 PM, you wrote: MG> At the moment I have the attached function. MG> It returns only 4 on a 2 x quad core Mac. MG> Maybe someone can test under windows? Windows XP running P3000 hyperthreading returns 2 cores (as expected) but using FPC 2.2.2 the

Re: [fpc-pascal] number of cpu cores

2008-12-13 Thread Mattias Gaertner
On Sat, 29 Nov 2008 19:14:39 +0100 (CET) mar...@stack.nl (Marco van de Voort) wrote: > In our previous episode, Michalis Kamburelis said: > [ Charset ISO-8859-1 unsupported, converting... ] > > Florian Klaempfl wrote: > > > Mattias Gaertner schrieb: > > >> I need a default value of the number of m

Re: [fpc-pascal] number of cpu cores

2008-11-30 Thread Jonas Maebe
On 30 Nov 2008, at 18:15, Florian Klaempfl wrote: Mattias Gaertner schrieb: I need a default value of the number of maximum threads. Is there already some RTL function that can be used for that? For example if the program runs on a 2 x quad core it would be nice to get 8. Hyperthreading mu

Re: [fpc-pascal] number of cpu cores

2008-11-30 Thread Florian Klaempfl
Mattias Gaertner schrieb: > I need a default value of the number of maximum threads. > Is there already some RTL function that can be used for that? > > For example if the program runs on a 2 x quad core it would be nice to > get 8. > Hyperthreading multipliers should be applied. If we implement

Re: [fpc-pascal] number of cpu cores

2008-11-29 Thread Marco van de Voort
In our previous episode, Michalis Kamburelis said: [ Charset ISO-8859-1 unsupported, converting... ] > Florian Klaempfl wrote: > > Mattias Gaertner schrieb: > >> I need a default value of the number of maximum threads. > >> Is there already some RTL function that can be used for that? > >> > >> For

Re: [fpc-pascal] number of cpu cores

2008-11-29 Thread Michalis Kamburelis
Florian Klaempfl wrote: > Mattias Gaertner schrieb: >> I need a default value of the number of maximum threads. >> Is there already some RTL function that can be used for that? >> >> For example if the program runs on a 2 x quad core it would be nice to >> get 8. >> Hyperthreading multipliers shoul

Re: [fpc-pascal] number of cpu cores

2008-11-29 Thread Dariusz Mazur
Mattias Gaertner pisze: I need a default value of the number of maximum threads. Is there already some RTL function that can be used for that? For example if the program runs on a 2 x quad core it would be nice to get 8. Hyperthreading multipliers should be applied. I've found something on

Re: [fpc-pascal] number of cpu cores

2008-11-29 Thread Florian Klaempfl
Mattias Gaertner schrieb: > I need a default value of the number of maximum threads. > Is there already some RTL function that can be used for that? > > For example if the program runs on a 2 x quad core it would be nice to > get 8. > Hyperthreading multipliers should be applied. No, but having s

[fpc-pascal] number of cpu cores

2008-11-29 Thread Mattias Gaertner
I need a default value of the number of maximum threads. Is there already some RTL function that can be used for that? For example if the program runs on a 2 x quad core it would be nice to get 8. Hyperthreading multipliers should be applied. Mattias