tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: timers related



On May 28, 11:28pm, charles.cui1984%gmail.com@localhost (Charles Cui) wrote:
-- Subject: timers related

| HI guys,
| 
|     I have 3 timers related macro to be added, which are _SC_CPUTIME,
| _SC_THREAD_CPUTIME and _SC_DELAYTIMER_MAX.
| the first and second are set to be 200112L in freebsd. I am wondering
| what's the meaning of those macros? and what are the cases to use these
| macros? I am thinking of where to add logics related with these macros. By
| the way, freebsd source cannot be browsed on nxr any more?

_SC_CPUTIME is for clock_getcpuclockid()
https://sourceforge.net/p/posixtest/mailman/message/3663935/
_SC_THREAD_CPUTIME is for pthread_getclockcpuid()
_SC_DELAYTIMER_MAX is for timer_getoverrun()
https://docs.oracle.com/cd/E19683-01/816-0213/6m6ne38dd/index.html
http://man7.org/linux/man-pages/man2/timer_getoverrun.2.html

I just used google to find them...

christos


Home | Main Index | Thread Index | Old Index