v/vlib/runtime
2025-07-22 07:55:53 +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 docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03: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 os,runtime: move some C struct and fn def to builtin (#24942) 2025-07-22 07:55:53 +03:00
used_memory_darwin.c.v runtime: add used_memory() (#24897) 2025-07-14 12:45:53 +03:00
used_memory_default.c.v runtime: add used_memory implementation for OpenBSD (#24918) 2025-07-17 17:51:07 +03:00
used_memory_freebsd.c.v runtime: add used_memory() implementation for FreeBSD (#24909) 2025-07-17 10:14:01 +03:00
used_memory_linux.c.v runtime: reduce allocations done in runtime.used_memory/0 on linux (#24901) 2025-07-14 16:24:07 +03:00
used_memory_openbsd.c.v runtime: add used_memory implementation for OpenBSD (#24918) 2025-07-17 17:51:07 +03:00
used_memory_test.v runtime: add used_memory() implementation for FreeBSD (#24909) 2025-07-17 10:14:01 +03:00
used_memory_windows.c.v runtime: add used_memory() (#24897) 2025-07-14 12:45:53 +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.