I am trying to make a program that can determine how many cores it is using. I think the best way to do this is by checking each core and seeing how much the program is using. I know some programs do a good job with this and will use all cores 100% but some programs are designed for 2 or 4 cores and only use that.
ProcessorAffinity in System.Diagnostics can be changed by the user. I am looking for a way for my program to see 98% usage from chrome on two cores and spit out an int of 2. (I know Chrome doesn't work like that)
Thanks, Josh