bugThe GNU Hurd - Bugs: bug #20683, time returns bogus user/system time

 
 

bug #20683: time returns bogus user/system time

Submitter:  Samuel Thibault <sthibaul>
Submitted:  Sat 04 Aug 2007 09:57:00 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Reproducibility:  None
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Feb 2018 09:35:58 PM UTC, comment #2: 

This is still an issue.  This wiki page has more information:

http://www.gnu.org/software/hurd/open_issues/time.html#index2h1

You can see this issue via: 



                                    joshua@debian:~$ time sleep 8


                                      real    0m8.030s
                                      user    0m0.000s
                                      sys     0m0.010s
                                      joshua@debian:~$

Joshua Branson <joshuabranson>
Fri 10 Aug 2007 01:58:50 PM UTC, comment #1: 

Note: however, this is already supported by the proc serveur. We need to somehow get the p_child_rusage field of struct proc (there is no mig interface for this yet)

Samuel Thibault <sthibaul>
Group administrator
Sat 04 Aug 2007 09:57:00 AM UTC, original submission:  

This is because GNU mach doesn't provide the stime/utime for children, see implementation of times() in glibc, sysdeps/mach/hurd/times.c:

  /* XXX This can't be implemented until getrusage(RUSAGE_CHILDREN) can be.  */
    tms->tms_cutime = tms->tms_cstime = 0;


Samuel Thibault <sthibaul>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joshuabranson (Posted a comment)
  • -email is unavailable- added by sthibaul (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code