-
Notifications
You must be signed in to change notification settings - Fork 0
System Specific Variables
Miguel Ramalho edited this page Sep 16, 2017
·
2 revisions
Since the same code can have different behaviours according to the phisical system it is running on, there are a few variables that can be invoked in Lat
that will be system dependent, such as:
- NUM_CPU_THREADS - Total number of hardware threads on the CPU (
LatConst.NUM_CPU_THREADS
) - L1_CACHE_LINESIZE - L1 cache line size in bytes (
LatConst.L1_CACHE_LINESIZE
)
Visit SPeCS Website for more information. Made with ❤️ @ feup.