v/vlib/runtime
2025-06-11 13:13:39 +03:00
..
free_memory_impl_darwin.c.v runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651) 2025-06-04 22:35:49 +03:00
free_memory_impl_default.c.v runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651) 2025-06-04 22:35:49 +03:00
free_memory_impl_freebsd.c.v runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651) 2025-06-04 22:35:49 +03:00
free_memory_impl_linux.c.v runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651) 2025-06-04 22:35:49 +03:00
free_memory_impl_openbsd.c.v runtime: fix -cstrict compilation (use usize() cast in free_memory) on OpenBSD (#24696) 2025-06-11 13:13:39 +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: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651) 2025-06-04 22:35:49 +03:00
runtime_test.v runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651) 2025-06-04 22:35:49 +03:00
runtime_windows.c.v runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651) 2025-06-04 22:35:49 +03: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.