This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/2] default ps -W process start time to boot time when unavailable


On Mar 23 20:22, Brian Inglis wrote:
> non-elevated users can not access system startup process start times,
> defaulting to time_t 0, displaying as Dec 31/Jan 1 depending on time zone,
> so instead use system boot time, which is within seconds of correct,
> to avoid WMI overhead getting correct system startup process start time
> 
> Brian Inglis (2):
>   default ps -W process start time to system boot time when inaccessible, 0, -1
>   get and convert boot time once and use as needed
> 
>  winsup/utils/ps.cc | 20 +++++++++++++++++++-
>  1 file changed, 19 insertions(+), 1 deletion(-)
> 
> -- 
> 2.17.0

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]