delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/09/11:12:03

From: rhg AT cps DOT com (Richard H. Gumpertz)
Subject: RE: times() under Win95
9 May 1998 11:12:03 -0700 :
Message-ID: <199805091414.JAA28833.cygnus.gnu-win32@Pooh.cps.com>
References: <01BD7B66 DOT 44E411C0 AT sos>
To: sos AT buggy DOT prospect DOT com DOT ru (Sergey Okhapkin)
Cc: gnu-win32 AT cygnus DOT com, rhg AT cps DOT com

> Richard H. Gumpertz wrote:
> > Does anybody have a working version of times() for Windows 95?  It currently
> > seems to work only under NT.  The user and system times returned appear to be
> > garbage under Windows 95.
> > 
> 
> W95 doesn't support accumulating of process's times.
> 
> -- 
> Sergey Okhapkin, http://www.lexa.ru/sos
> Moscow, Russia

So how about returning "reasonable" fake values.  For example, perhapsreturn
the real time in the user time and zero in the system time?  (Maybe the
revewrse might make sense with Win95?)  If nothing else, at least return zero
in all for CPU time fields rather than garbage!

-- 
 ==========================================================================
 | Richard H. Gumpertz, PhD        VOICE:(913) 642-1777 or (913) 534-5062 |
 | Computer Problem Solving        FAX:  (913) 752-6615 or (913) 642-8777 |
 | 4518 West 89th Street, Suite 220                                       |
 | Prairie Village, KS 66207-2293                     E-MAIL: rhg AT CPS DOT com |
 ==========================================================================
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019