[haiku-bugs] Re: [Haiku] #15615: pthread_getcpuclockid support

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 09 Jan 2020 08:30:41 -0000

#15615: pthread_getcpuclockid support
---------------------------------+----------------------------
   Reporter:  kallisti5          |      Owner:  nobody
       Type:  bug                |     Status:  new
   Priority:  normal             |  Milestone:  Unscheduled
  Component:  System/libroot.so  |    Version:  R1/Development
 Resolution:                     |   Keywords:  pthread
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------
Comment (by pulkomandy):

 One can use get_thread_info() and sum the user_time and kernel_time in the
 returned struct to get the equivalent on Haiku. We have only microsecond
 resolution, however.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15615#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: