This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Using core\cores specification
- From: Harald Servat <harald dot servat at bsc dot es>
- To: alanklm <alkulakov at ukr dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 30 Nov 2009 10:54:42 +0100
- Subject: Re: Using core\cores specification
- References: <26571154.post@talk.nabble.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
En/na alanklm ha escrit:
> Do somebody know if there is some possibility in gcc to set on which fixed
> cores of multi-core processor I want to execute my program?
I'm afraid that this feature depends on the OS not on gcc itself.
For example, FreeBSD has the cpuset command and calls.
http://www.freebsd.org/cgi/man.cgi?query=cpuset&sektion=2&apropos=0&manpath=FreeBSD+8.0-RELEASE
http://www.freebsd.org/cgi/man.cgi?query=cpuset&sektion=1&apropos=0&manpath=FreeBSD+8.0-RELEASE
Other OSes may have other commands/calls.
Regards.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAksTlmIACgkQwMPeuqUCg9y66gCeOznWYFnyOxP+ld8mss3iWGYc
TUUAmgOnOUv9v/rPpmX8TQnw2gPQ1iRn
=yv5u
-----END PGP SIGNATURE-----