Skip to content

Commit

Permalink
Fix detect all cores per cpu if cpu HT
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 29, 2012
1 parent 2003a32 commit a230b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SearchString=True
[OpenFile]
File[1]=".src/Finfosys.form"
Active=2
File[2]=".src/Finfosys.class:526.34"
File[2]=".src/Finfosys.class:325.44"
File[3]=".src/Global.class:12.7"
File[4]=".src/About.form"
File[5]=".src/About.class:83.22"
Expand Down
2 changes: 1 addition & 1 deletion src/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ Public Sub Wykrywanie_procesorow()
Shell "cat /sys/devices/system/cpu/" & eloaders2 & "/cache/index0/size" Wait To ldata
Shell "cat /sys/devices/system/cpu/" & eloaders2 & "/cache/index1/size" Wait To linstruction
Shell "cat /sys/devices/system/cpu/" & eloaders2 & "/cache/index3/size" Wait To level3cache
Shell "grep 'cpu cores' /proc/cpuinfo | sed -n '" & eloaders & "' | cut -d ':' -f 2" Wait To cpu_cores
Shell "cat /proc/cpuinfo | grep 'physical id' | sort | uniq | wc -l" Wait To cpu_cores
Shell "grep 'physical id' /proc/cpuinfo | sed -n '" & eloaders & "' | cut -d ':' -f 2" Wait To physical_id

TextBox29.Text = Replace(cpu, "\n", "")
Expand Down

0 comments on commit a230b87

Please sign in to comment.