©£ª£
INtime
©£ ²®¦ §£ª´£ª §£³¨
§
Windows
¦
´±£«® ©²¥ ´£¦
§£³²³ §££ª°£¡ §£ª±´ ¦³ ´±£«®
§£²²¬´¨³ §£¥£¦´ ´¨ ©¨ ¦®£¢
¦®£¢ §£³²³ §££¨£ª®
Timers
££ ¦¬
£´³ ©£
INtime
°¦ §£²¬¨ ´¨ ©¨
´¬ ¦³ ¦±¢²® §££± ¦¬® ´¥²¬¨
IPI Inter Processor
Interrupt
³¨´³¨³
²´£ ©¢±
overhead
³£ ¦±¢²®¦
¬±² ©¨ ¦¥ ¦¬®
API
´£²± ©ª³£ ´ª¥´¨ ´¨² ©¥ ¨¥
Windows
´£« ©£ §£±³¨¨ £« ¨¥¦
´£ª¥´ ²³®¦ £¥
INtime
´£«¦
´£« £´³ ´ ´¦³¨³
ďüøùđ û ûćüĉ āĀ÷
ĀđĐă
INtime
đüĉčą÷ø
đą÷ Ćąýă ă ćû đüćüĂđû
ĆćĂüđ ÷ă
Windows
Ćđü÷Đ
ĎċĈă
´¥²¬¨¨
1
²®«¨ ³£² ²¨¥
©¢± ¦£® ²®«¨ §£±³ £ ´£¢«£ª£¨²¢
£ ©²¬ ´³ ²¨¡ £±³¨¨ ¦³
¬± ¨ ©¢± ¥£¬
§ §££ª°£¡ §£ª±´¨ ´¬£¨ ´±£«®
¦³ ´±£«® ²¨¡ £¥² ´ ª²
¦¬® ´¥²¬¨
INtime
¨ ¦®£¢ ¦±¦
³¡¨ §³¦ ¦¦¥ ´²¬¨ ª£
Windows
´¦±´¨³ ´£² ¡¨ ±£«® £²¡ ±¬ª
±£«®¦ ´¨²³ ´£ª¥´ ªª £¨£ª®
Timer
¨
¬± ¡²¨ ¦¬®³
Timer
£®¦ ¨ £
»
»
1
ʸʥʩʠ
2
ʸʥʩʠ
¦¬®
Timer
³ ¨ ²¬ ©¨ ¨¥ ±ª
§£³²® ´ ¨ª ¤¥ ´¨± §¬®
¦£¬®¨ ´³
thread
´¦¬® ´¦£¡´ ¦³
£ §£®°²
Timer
£¬²£ ¦¥ ©£
Timer
´²¡ §£¦£¨
latency
¦³ ´ª³
jitter
´ ²¨
1
²®«¨ ²£ ¨²¢«£
©£¦£¨ ¨ ¦¬¨¦ ´£¨
jitter
² £®
¡ ´£ª³²±£¨
50
¦³ §£³²® §£¬²£
ª£ ¨ª³
jitter
£«£ª ²¬ ª³¨¨
§£ª¨£« ² ´£ª³ ²±£¨ ¥ ²´£ ©¢±
£¦´
jitter
¦³ ¦ ¥³ £«£ª ¦£¬
¦¬ ´£ª³ ´¨²®¢¦® ¨²®¢¦®
§£¦¬® ¦¥ §£¨± ´²¨ §£¬¨
´°±¨
jitter
hyperthreading
©´£ª § §£±³¨¨ ¦³ ² ²®«¨ ³£³¥
¬¢¨³ £² §¦¥ ¦®¢¦ ´¡ £¦¦
°£² ³¨ ¦¬ ´²¡´ ²°£´ §£²
¤£²°³ §£¬² ¢¬¨ ³£³¥ £¦ ª£³
§£²¨ ´£¢«£ª£¨²¢ ²° §£¦ £¦
§¦ §£ª´ª §´®£¬ £®¦ §£¬² ´
²°³ £´ °´ ´¨²
255
¨ ´¡
¢ ´¡® ´£¢«£ª£¨²¢ ©´ª£´ ´£´²
²´£ ¥¨ª §´®£¬³ ¦¦
´®£¬ §£¬²£ ³ °¨¦ §£¬£¨ ²³¥
´£¢«£ª£¨²¢ ´ §£¦±¨ ¦ ¥¨ª
INtime
¦³ ´£ ¥²¨ ª¥´ ¦°ª¦ ©´£ª ³²
££² ´¦¬®³ ¦¬® ´¥²¬¨ ´£
Asymmetric
Multi
Processing
«¨ ´£¦
´¥²¬¨ ¦³ ¦¨ ±´¬ ©¬¢ª £¦ ¦¥¦
´±£«® ©²¥ ¦³ ´²® ¦¥ ¦¬®
¦®£¢¦ £¦ ¦¥ ¦³ ´£¨°¬ °£²¦ ²³®¨
¤¥ ¦ °±³ ¦®£¢ ´ª¥´ ´±£«®
§£ª£¢±¨ ´£¦ ©£ §£¬² ´ §£² ¨
¬£®¦ ´¨²³ §£³¨ ¦¬ ´²¡´ ´
´°¨
2
²®«¨ ²£ ´£¢«£ª£¨²¢
°²³
1
²£¨ ´£ª¥´ ´ ¦³ £¨
£ ª²¡³ ²±¨ ´£¦
4
¦¬ ¦£±¨
´£¦¨ ´¡ ¦¥
hyperthreading
¨
INtime
´ °£²¨
¬² ¥ °±³ ´²¦ ©´£ª
¦±¦ §£¦¥£ §££¦´ £´¦
Timer
£¬²£
¬²® ¦¥ ¦¦ ´£¦¨£«±¨ ´£¢«£ª£¨²¢
ª³¨¦ ¡ ¬² ¦³
¯¡¨ ´¬£¨³ ´±£«®¦ £ ´®«ª ¨
£«£¢²¥ ¦®£¢ ´ ©¡¦ ª²¡
.PC
¦
¦®¢¦ ©´£ª
INtime
Ethernet
¦ ´²³±´
frame
´¨²
Ethernet
£±³¨¨
´¥²¬¨
IP
´¨²
(
Mac Layer
´¦ ³£² §£´£¬¦ ª³£
Embedded
Jitter
latency
Ethernet
£±³¨¨
©¥¦ §± ´«ª¦ ©´£ª ²¨¥ §£¥¨ª
´ ¦¬ §£¥£¦´ ´£®£¬ §¬ ±¡³ ¦
´ ¦£¬®¨³ ³² ¤£¦´¦ ´´¦ £¦
²´£ ´®£¬
Ethernet
±³¨¨
´ §££³¨ ¦ ©££¬ § §¦
¬°¦ ©¥ § ©´£ª ³² ´£¢«£ª£¨²¢
«£¢²¥ ´ ¤´¨
port
¦¥ ´£¦¦ ²®
§¦³ ´³² «£¢²¥
ports
²¨ ´³²
²´¨³ £®¥ ´²¡ £¦¦ ¤££³¦ ©´£ª ²¡
²£ ¦³ ©£¦¬ ±¦¡
3
²®«¨ ²£
NIC
ports
¦³ ´£²³® °± ´°¨
¦¬ §£°²
Windows
INtime
´¥²¬¨
´°¨ ©´¡´ ±¦¡ °¦
PC
´
INtime
£²± £°²£®ª± ²¬ ²®
¦¥ ¤³¨ ²«´
Distributed
RTOS
Embedded & Microprocessors
£¡¥ª ¯¡ª
83 l New-Tech Magazine