[Insight-users] is it possible to force the default number ofthreads ?

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Nov 18 03:43:04 EST 2005


On Thu, 17 Nov 2005 17:50:27 +0100, Miller, James V (Research)  
<millerjv at crd.ge.com> wrote:

> Gaetan,
>
> You can do a
>
> itk::MultiThreader::SetGlobalMaximumNumberOfThreads(1);
>

Thank you :-)

> Jim
>
> -----Original Message-----
> From: insight-users-bounces+millerjv=crd.ge.com at itk.org
> [mailto:insight-users-bounces+millerjv=crd.ge.com at itk.org]On Behalf Of
> Gaetan Lehmann
> Sent: Thursday, November 17, 2005 11:18 AM
> To: insight-users at itk.org
> Subject: [Insight-users] is it possible to force the default number
> ofthreads ?
>
>
>
> Hi,
>
> Is it possible to force the default number of threads ?
> On a computer with hyperthreading, using 2 threads can highly decrease  
> the
> performances so I would be able to force all the filters to use only 1
> thread without having to set the number of threads for all the filters.
>
> Regards,
>
> Gaetan
>



-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-users mailing list