Import std.os.system
System
struct
Public Struct System
System's Static Properties.
Examples
Expect(System.CpuCount >= 1)
Expect(System.TotalMemory > 0)
Expect("{System.Platform}" != "")-
The OS the program was built for, which it runs on.
-
The processor the program was built for, which it runs on, or emulates.
-
How many threads can run at once: the processors the OS lets the program use, 1 or more.
-
The machine's memory, in bytes.
-
The machine's name on its network, or Null when the OS doesn't say.
-
The name of the user the program runs as, or Null when the OS doesn't say.
Report an issue with this page or with FutureBlitz on GitHub.