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

 
 

bug #20683: time returns bogus user/system time

Submitted by:  Samuel Thibault <sthibaul>
Submitted on:  Sat 04 Aug 2007 09:57:00 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenReproducibility: None
Size (loc): NonePlanned Release: None
Effort: 0.00
Wiki-like text discussion box: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Member
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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sthibaul (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup