@@ -11,6 +11,7 @@ if sys.platform == "darwin":
1111 ZombieProcess as ZombieProcess ,
1212 conn_tmap as conn_tmap ,
1313 conn_to_ntuple as conn_to_ntuple ,
14+ debug as debug ,
1415 isfile_strict as isfile_strict ,
1516 memoize_when_activated as memoize_when_activated ,
1617 parse_environ_block as parse_environ_block ,
@@ -70,23 +71,21 @@ if sys.platform == "darwin":
7071
7172 disk_usage = _psposix .disk_usage
7273 disk_io_counters = _psutil_osx .disk_io_counters
73-
7474 def disk_partitions (all : bool = False ) -> list [_common .sdiskpart ]: ...
7575 def sensors_battery () -> _common .sbattery | None : ...
7676
7777 net_io_counters = _psutil_osx .net_io_counters
7878 net_if_addrs = _psutil_posix .net_if_addrs
79-
8079 def net_connections (kind : str = "inet" ) -> list [_common .sconn ]: ...
8180 def net_if_stats () -> dict [str , _common .snicstats ]: ...
8281 def boot_time () -> float : ...
82+ INIT_BOOT_TIME : float
83+ def adjust_proc_create_time (ctime : float ) -> float : ...
8384 def users () -> list [_common .suser ]: ...
8485 def pids () -> list [int ]: ...
85-
8686 pid_exists = _psposix .pid_exists
87-
88- def is_zombie (pid : int ) -> bool : ...
8987 def wrap_exceptions (fun : Callable [_P , _R ]) -> Callable [_P , _R ]: ...
88+ def is_zombie (pid : int ) -> bool : ...
9089
9190 class Process :
9291 __slots__ = ["_cache" , "_name" , "_ppid" , "pid" ]
@@ -106,7 +105,7 @@ if sys.platform == "darwin":
106105 def memory_info (self ) -> pmem : ...
107106 def memory_full_info (self ) -> pfullmem : ...
108107 def cpu_times (self ) -> _common .pcputimes : ...
109- def create_time (self ) -> float : ...
108+ def create_time (self , monotonic : bool = False ) -> float : ...
110109 def num_ctx_switches (self ) -> _common .pctxsw : ...
111110 def num_threads (self ) -> int : ...
112111 def open_files (self ) -> list [_common .popenfile ]: ...
0 commit comments