Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN3129 Arkusz danych(PDF) 6 Page - STMicroelectronics

Numer części AN3129
Szczegółowy opis  Real-time performance using FIQ interrupt handling in SPEAr MPUs
PDF  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3129 Arkusz danych(HTML) 6 Page - STMicroelectronics

Back Button AN3129 Datasheet HTML 2Page - STMicroelectronics AN3129 Datasheet HTML 3Page - STMicroelectronics AN3129 Datasheet HTML 4Page - STMicroelectronics AN3129 Datasheet HTML 5Page - STMicroelectronics AN3129 Datasheet HTML 6Page - STMicroelectronics AN3129 Datasheet HTML 7Page - STMicroelectronics AN3129 Datasheet HTML 8Page - STMicroelectronics AN3129 Datasheet HTML 9Page - STMicroelectronics AN3129 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 12 page
background image
IRQ latency measurement
AN3129
6/12
Doc ID 16927 Rev 1
This module is linked statically to the kernel image and has user mode interface at:
/sys/kernel/irq_latency
To use the module:
1.
Run the following command:
#ls /sys/kernel/irq_latency
The command output shows four entries:
–
irq_mode – shows if IRQ latency measurement is 1 (on) or 0 (off/no capture)
–
fiq-mode – shows if FIQ latency measurement is 1 (on) or 0 (off/no capture)
–
stats – shows the running statistics of measurements as summary
–
stats_details – shows detailed log of IRQ latency counters
During kernel booting, the statically linked module is loaded automatically. By default the
module lies dormant and does not capture latency statistics.
2.
To start the capture, you must activate one of the two IRQ handling modes using the
command:
–
#echo 1 > irq_mode
or
–
#echo 1 > fiq_mode
irq_mode: in this timer interrupts are handled with an IRQ mechanism.
fiq_mode: in this timer interrupts are handled as FIQ interrupts. FIQ mode is designed
to handle real-time scenarios.
To get the statistics captured by the module, use the command #cat stats repeatedly while
performing other tasks. A typical output is:
Latency
max (usec) : 48
min (usec) : 6
totalsamples : 7798
To get detailed statistics, use the command #cat stats_details repeatedly while performing
other tasks. A typical output is:
Latency:
Counter (usec)
0, 0
1, 0
2, 0
3, 0
4, 0
5, 0
6, 12001
7, 70



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com