mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
[stubsabot] Bump psutil to 5.9.* (#8213)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -1 +1 @@
|
||||
version = "5.8.*"
|
||||
version = "5.9.*"
|
||||
|
||||
@@ -90,7 +90,7 @@ def swap_memory(): ...
|
||||
def cpu_times(): ...
|
||||
def per_cpu_times(): ...
|
||||
def cpu_count_logical(): ...
|
||||
def cpu_count_physical(): ...
|
||||
def cpu_count_cores() -> int | None: ...
|
||||
def cpu_stats(): ...
|
||||
def disk_partitions(all: bool = ...): ...
|
||||
|
||||
|
||||
@@ -17,13 +17,11 @@ from ._common import (
|
||||
|
||||
__extra__all__: Any
|
||||
POWER_SUPPLY_PATH: str
|
||||
HAS_SMAPS: Any
|
||||
HAS_PROC_IO_PRIORITY: Any
|
||||
HAS_CPU_AFFINITY: Any
|
||||
CLOCK_TICKS: Any
|
||||
PAGESIZE: Any
|
||||
BOOT_TIME: Any
|
||||
BIGFILE_BUFFERING: Any
|
||||
LITTLE_ENDIAN: Any
|
||||
DISK_SECTOR_SIZE: int
|
||||
AF_LINK: Any
|
||||
@@ -118,7 +116,6 @@ def readlink(path): ...
|
||||
def file_flags_to_mode(flags): ...
|
||||
def is_storage_device(name): ...
|
||||
def set_scputimes_ntuple(procfs_path) -> None: ...
|
||||
def cat(fname, fallback=..., binary: bool = ...): ...
|
||||
|
||||
scputimes: Any
|
||||
prlimit: Any
|
||||
@@ -129,7 +126,7 @@ def swap_memory(): ...
|
||||
def cpu_times(): ...
|
||||
def per_cpu_times(): ...
|
||||
def cpu_count_logical(): ...
|
||||
def cpu_count_physical(): ...
|
||||
def cpu_count_cores() -> int | None: ...
|
||||
def cpu_stats(): ...
|
||||
def cpu_freq(): ...
|
||||
|
||||
@@ -184,7 +181,7 @@ class Process:
|
||||
def wait(self, timeout: Any | None = ...): ...
|
||||
def create_time(self): ...
|
||||
def memory_info(self): ...
|
||||
def memory_full_info(self, _private_re=..., _pss_re=..., _swap_re=...): ...
|
||||
def memory_full_info(self): ...
|
||||
def memory_maps(self): ...
|
||||
def cwd(self): ...
|
||||
def num_ctx_switches(self, _ctxsw_re=...): ...
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
from contextlib import AbstractContextManager
|
||||
from typing import Any, NamedTuple
|
||||
|
||||
from ._common import (
|
||||
@@ -49,7 +48,7 @@ def swap_memory(): ...
|
||||
def cpu_times(): ...
|
||||
def per_cpu_times(): ...
|
||||
def cpu_count_logical(): ...
|
||||
def cpu_count_physical(): ...
|
||||
def cpu_count_cores() -> int | None: ...
|
||||
def cpu_stats(): ...
|
||||
def cpu_freq(): ...
|
||||
|
||||
@@ -72,7 +71,6 @@ pid_exists: Any
|
||||
|
||||
def is_zombie(pid): ...
|
||||
def wrap_exceptions(fun): ...
|
||||
def catch_zombie(proc) -> AbstractContextManager[None]: ...
|
||||
|
||||
class Process:
|
||||
pid: Any
|
||||
|
||||
@@ -12,5 +12,4 @@ def proc_cpu_affinity_get(*args, **kwargs) -> Any: ...
|
||||
def proc_cpu_affinity_set(*args, **kwargs) -> Any: ...
|
||||
def proc_ioprio_get(*args, **kwargs) -> Any: ...
|
||||
def proc_ioprio_set(*args, **kwargs) -> Any: ...
|
||||
def set_testing(*args, **kwargs) -> Any: ...
|
||||
def users(*args, **kwargs) -> Any: ...
|
||||
|
||||
@@ -111,7 +111,7 @@ def disk_partitions(all): ...
|
||||
def cpu_times(): ...
|
||||
def per_cpu_times(): ...
|
||||
def cpu_count_logical(): ...
|
||||
def cpu_count_physical(): ...
|
||||
def cpu_count_cores() -> int | None: ...
|
||||
def cpu_stats(): ...
|
||||
def cpu_freq(): ...
|
||||
def getloadavg(): ...
|
||||
|
||||
Reference in New Issue
Block a user