Skip to content

Commit

Permalink
Speedup CPU detect from database on Intel Atom platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 30, 2013
1 parent f779458 commit ffd7b64
Show file tree
Hide file tree
Showing 4 changed files with 28,486 additions and 28,461 deletions.
9 changes: 8 additions & 1 deletion src/i-nex/.src/FCpudb.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ Public database As Collection
Public Sub _inits()
Dim buffer, cpucache As String
Dim z As Integer
buffer = File.Load("Database/db")
Select Case Finfosys.Label14.Text
Case Like "*amd*"
buffer = File.Load("Database/amd")
Case Like "*atom*"
buffer = File.Load("Database/atom")
Case Like "*intel*"
buffer = File.Load("Database/intel")
End Select
database = JSON.Decode(buffer)
cpucache = Finfosys.Label14.Text
cpucache = Replace(Replace(Replace(Replace(Replace(Replace(Replace(cpucache, "Intel", ""), " ", "*"), "R", ""), "CPU", ""), "TM", ""), ")", ""), "(", "")
Expand Down

0 comments on commit ffd7b64

Please sign in to comment.