24.12.2012 Views

Chapter 4 - DSpace at Waseda University

Chapter 4 - DSpace at Waseda University

Chapter 4 - DSpace at Waseda University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

� Need to configure support for it in the Linux kernel.<br />

� Set CONFIG_HIGH_RES_TIMERS=y in kernel config.<br />

� Compile the kernel.<br />

The timer th<strong>at</strong> support microsecond APIs are as follows:<br />

61<br />

<strong>Chapter</strong> 5<br />

� timer_settime(): sets the time until the next expir<strong>at</strong>ion of the timer is specified by<br />

timer-id.<br />

� setitimer(): system provides each process with an interval timer. When the timer<br />

expires, a signal is sent to the process, and the timer expired.<br />

� nanosleep():set up high resolution sleep.<br />

� ualarm(): cause the SIGALRM signal to be gener<strong>at</strong>ed for the calling process after<br />

the number of microseconds.<br />

� usleep(): cause the calling thread to be suspended from execution until either the<br />

number of real-time microseconds<br />

The HRTimer is not occurring timer interrupt periodically. The period of HRTimer can set<br />

up a programmer.<br />

5.4 L<strong>at</strong>ency Policy<br />

In this thesis, we describe about timer l<strong>at</strong>ency and policy of HRTimer to measure HRTimer

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!