File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ from psutil._common import (
1111 ZombieProcess as ZombieProcess ,
1212 conn_tmap as conn_tmap ,
1313 conn_to_ntuple as conn_to_ntuple ,
14+ debug as debug ,
1415 memoize as memoize ,
1516 pio ,
1617 usage_percent as usage_percent ,
@@ -21,10 +22,7 @@ PROC_STATUSES: Incomplete
2122TCP_STATUSES : Incomplete
2223PAGESIZE : Incomplete
2324AF_LINK : Incomplete
24- HAS_PER_CPU_TIMES : Incomplete
2525HAS_PROC_NUM_THREADS : Incomplete
26- HAS_PROC_OPEN_FILES : Incomplete
27- HAS_PROC_NUM_FDS : Incomplete
2826kinfo_proc_map : Incomplete
2927
3028class svmem (NamedTuple ):
@@ -108,6 +106,10 @@ def sensors_temperatures(): ...
108106def cpu_freq (): ...
109107def boot_time (): ...
110108def users (): ...
109+
110+ INIT_BOOT_TIME : float
111+
112+ def adjust_proc_create_time (ctime : float ) -> float : ...
111113def pids (): ...
112114def pid_exists (pid ): ...
113115def is_zombie (pid ): ...
@@ -132,7 +134,7 @@ class Process:
132134 def cpu_num (self ): ...
133135 def memory_info (self ): ...
134136 memory_full_info : Incomplete
135- def create_time (self ) : ...
137+ def create_time (self , monotonic : bool = False ) -> float : ...
136138 def num_threads (self ): ...
137139 def num_ctx_switches (self ): ...
138140 def threads (self ): ...
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ class Process:
213213 def cpu_times (self ): ...
214214 def cpu_num (self ): ...
215215 def wait (self , timeout : Incomplete | None = ...): ...
216- def create_time (self , monotonic : bool = False ): ...
216+ def create_time (self , monotonic : bool = False ) -> float : ...
217217 def memory_info (self ): ...
218218 def memory_full_info (self ): ...
219219 def memory_maps (self ): ...
You can’t perform that action at this time.
0 commit comments