Detect how many CPUs (or cores) available on a system? (C#)

by Vitaly Zayko 21. July 2009 11:30

Quite important to be prepared for the Parallel Computing.
This will show you how lucky your system is Smile:

int cpu = System.Environment.ProcessorCount;

Greetings!

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags:

Code Snippets

Comments are closed

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

About the author

Vitaly Zayko

Senior Software Developer / Team Lead / Product Manager

Moscow, Russia