nomlib
Loading...
Searching...
No Matches
nom::PlatformSpec Struct Reference

Public Attributes

const char * name = "Unknown"
 The platform name.
Platform env = PLATFORM_UNKNOWN
 The platform's environment.
int num_cpus = 1
 The number of available CPUs.
int cpu_cache_size = 0
 The L1 cache size of the CPU (in bytes).
int total_ram = 0
 The total available system RAM (in bytes).

Detailed Description

Definition at line 127 of file platforms.hpp.

Member Data Documentation

◆ cpu_cache_size

int nom::PlatformSpec::cpu_cache_size = 0

The L1 cache size of the CPU (in bytes).

Definition at line 139 of file platforms.hpp.

◆ env

Platform nom::PlatformSpec::env = PLATFORM_UNKNOWN

The platform's environment.

Definition at line 133 of file platforms.hpp.

◆ name

const char* nom::PlatformSpec::name = "Unknown"

The platform name.

Definition at line 130 of file platforms.hpp.

◆ num_cpus

int nom::PlatformSpec::num_cpus = 1

The number of available CPUs.

Definition at line 136 of file platforms.hpp.

◆ total_ram

int nom::PlatformSpec::total_ram = 0

The total available system RAM (in bytes).

Definition at line 142 of file platforms.hpp.


The documentation for this struct was generated from the following file: