Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

/Util/CPU/CPUID features
Required plugins for this example: MBS Util Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Util/CPU/CPUID features
This example is the version from Mon, 10th Aug 2014.
Project "CPUID features.rbp"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control List Inherits Listbox
ControlInstance List Inherits Listbox
End Control
Control FeatureDescriptions Inherits Listbox
ControlInstance FeatureDescriptions Inherits Listbox
End Control
EventHandler Sub Open() List.AddRow "VendorName", CPUIDMBS.VendorName List.AddRow "Vendor", str(CPUIDMBS.Vendor) List.AddRow "BrandString", CPUIDMBS.BrandString List.AddRow "CodeName", CPUIDMBS.CodeName List.AddRow "Family", str(CPUIDMBS.family) List.AddRow "Model", str(CPUIDMBS.model) List.AddRow "Stepping", str(CPUIDMBS.stepping) List.AddRow "ExtFamily", str(CPUIDMBS.ExtFamily) List.AddRow "ExtModel", str(CPUIDMBS.ExtModel) List.AddRow "NumCores", str(CPUIDMBS.NumCores) List.AddRow "NumLogicalCPUs", str(CPUIDMBS.NumLogicalCPUs) List.AddRow "TotalLogicalCPUs", str(CPUIDMBS.TotalLogicalCPUs) List.AddRow "L1DataCache", str(CPUIDMBS.L1DataCache)+" KB" List.AddRow "L1InstructionCache", str(CPUIDMBS.L1InstructionCache)+" KB" List.AddRow "L2Cache", str(CPUIDMBS.L2Cache)+" KB" List.AddRow "L3Cache", str(CPUIDMBS.L3Cache)+" KB" for i as integer = 0 to 93 list.AddRow CPUIDMBS.FeatureName(i)+" "+FeatureDescriptions.Cell(i,0), str(CPUIDMBS.Flags(i)) next End EventHandler
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
End Project

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Util Plugin.

MBS FileMaker Plugins