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.

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

l<strong>at</strong>ency. Figure 5.5 shows the model of the HRTimer l<strong>at</strong>ency. When a local apic interrupt<br />

occurs software interrupts are occurred after an interrupt handler takes action. If HRTimer<br />

expired, it is stopped by kernel_timer_itimer_expired.<br />

Figure 5.5 Hrtimer l<strong>at</strong>ency model<br />

We define the HRTimer l<strong>at</strong>ency model as follows:<br />

�<br />

�<br />

lapic<br />

T : The time from occurring HRTimer hardware interrupt to occurring hardirq<br />

handler to be expired.<br />

softirq<br />

T : The time from occurring softirq to until processing softirq handler<br />

expired<br />

� . T : The time from after softirq handler to until expired HRTimer.<br />

When there is delay in timer, following formula is required to check how delay was<br />

occurred.<br />

� Formula (1):<br />

time<br />

T Means a time of the HRTimer’s execution which is the all of time<br />

for HRTimer processing time and HRTimer l<strong>at</strong>ency.<br />

� Formula (2): Checking whether time l<strong>at</strong>ency occurred or not by comparing<br />

62<br />

tick<br />

HRT to

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

Saved successfully!

Ooh no, something went wrong!