Documentation

Std.Internal.UV.System

Represents resource usage statistics for a process or thread. All time values are in milliseconds.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.

    Represents the breaskdown of CPU time usage in milliseconds.

    Instances For

      Information about a single CPU core.

      Instances For

        Information about the current user.

        Instances For

          Information about the current group,

          Instances For

            Information about the OS.

            Instances For
              @[extern lean_uv_get_process_title]

              Gets the title of the current process.

              @[extern lean_uv_set_process_title]

              Sets the title of the current process.

              @[extern lean_uv_uptime]

              Gets the system uptime in seconds.

              @[extern lean_uv_os_getpid]

              Gets the process ID of the current process.

              @[extern lean_uv_os_getppid]

              Gets the parent process ID of the current process.

              @[extern lean_uv_cpu_info]

              Gets information about the system's CPUs.

              @[extern lean_uv_cwd]

              Gets the current working directory.

              @[extern lean_uv_chdir]

              Changes the current working directory.

              @[extern lean_uv_os_homedir]

              Gets the path to the current user's home directory.

              @[extern lean_uv_os_tmpdir]

              Gets the path to the temporary directory.

              @[extern lean_uv_os_get_passwd]

              Gets a subset of the password file entry for the current user.

              @[extern lean_uv_os_get_group]

              Gets information about the current user's group.

              @[extern lean_uv_os_environ]

              Gets all environment variables.

              @[extern lean_uv_os_getenv]

              Gets the value of an environment variable.

              @[extern lean_uv_os_setenv]

              Sets the value of an environment variable.

              @[extern lean_uv_os_unsetenv]

              Unsets an environment variable.

              @[extern lean_uv_os_gethostname]

              Gets the hostname of the machine.

              @[extern lean_uv_os_getpriority]

              Gets the scheduling priority of a process.

              @[extern lean_uv_os_setpriority]

              Sets the scheduling priority of a process.

              @[extern lean_uv_os_uname]

              Gets information about the operating system.

              @[extern lean_uv_hrtime]

              Gets the current high-resolution time in nanoseconds.

              @[extern lean_uv_random]

              Generates cryptographically secure random bytes.

              @[extern lean_uv_getrusage]

              Retrieves resource usage statistics.

              @[extern lean_uv_exepath]

              Returns the absolute path of the current executable.

              @[extern lean_uv_get_free_memory]

              Returns the amount of free system memory in bytes.

              @[extern lean_uv_get_total_memory]

              Returns the total system memory in bytes.

              @[extern lean_uv_get_constrained_memory]

              Returns the constrained memory limit in bytes.

              @[extern lean_uv_get_available_memory]

              Returns the available memory for allocation in bytes.