v/vlib/runtime
2024-11-27 16:20:14 +02:00
..
free_memory_impl_darwin.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
free_memory_impl_default.c.v runtime: add new functions total_memory/0 and free_memory/0 (#18499) 2023-06-24 14:15:15 +03:00
free_memory_impl_linux.c.v os,runtime: workaround for v.c generation instability 2024-05-01 21:51:28 +03:00
README.md doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
runtime.v runtime: force runtime.nr_jobs() to return 1, while V is bootstrapping itself, from vc/ source, that was compiled with -os cross (fix #22991) 2024-11-27 16:20:14 +02:00
runtime_nix.c.v runtime: add new functions total_memory/0 and free_memory/0 (#18499) 2023-06-24 14:15:15 +03:00
runtime_test.v runtime: add new functions total_memory/0 and free_memory/0 (#18499) 2023-06-24 14:15:15 +03:00
runtime_windows.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00

Description

runtime provides access to functions describing the current platform:

  • whether it is 32bit or 64bit
  • how many CPUs/cores are available
  • total/free physical memory
  • whether the platform is little endian or big endian
  • etc.