()
| 9 | import sys |
| 10 | |
| 11 | def GetCPUFeatures(): |
| 12 | File = open("/proc/cpuinfo", "r") |
| 13 | Lines = File.readlines() |
| 14 | File.close() |
| 15 | |
| 16 | for Line in Lines: |
| 17 | if "Features" in Line: |
| 18 | Features = Line.split(":")[1].strip().split(" ") |
| 19 | return Features |
| 20 | |
| 21 | SnapdragonIDsWithDisabledSVE = { |
| 22 | # Snapdragon 8 Gen 3 |