1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/runtime
2023-07-26 09:01:37 +03:00
..
free_memory_impl_darwin.c.v Revert "runtime: cleanup free_memory comptime conditional (#18968)" 2023-07-26 09:01:37 +03: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 Revert "runtime: cleanup free_memory comptime conditional (#18968)" 2023-07-26 09:01:37 +03:00
README.md runtime: add new functions total_memory/0 and free_memory/0 (#18499) 2023-06-24 14:15:15 +03: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 runtime: add new functions total_memory/0 and free_memory/0 (#18499) 2023-06-24 14:15:15 +03:00
runtime.v

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.