-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
uxp/src/pages/uxp/reference-js/Modules/os/OS.md
Lines 34 to 41 in 4751009
| ## cpus() | |
| Gets the platform cpu information we are running on (eg. "{'Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz', 2900}") | |
| **Returns**: `array` - the array of objects containing information about each logical CPU core | |
| Currently only model and speed properties are supported. times property is not supported. | |
| Access to CPU information, such as model string and frequency, is limited on UWP. | |
| "ARM based architecture" or "X86 based architecture" is returned as a 'model' value on UWP. | |
| 0 is returned as a 'speed' value on UWP. |
It isn't clear what kind of information is in the array. Even if we don't have a perfect type definition, specifiying that this is an Array<object> (or maybe Array<any>) already increases the understanding that one can get just from reading/scanning this).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels