Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux ½ø³ÌµÄ×ÊԴʹÓÃ

LinuxÄÚºË×·×Ùÿ¸ö½ø³ÌʹÓõÄ×Ê ±ÈÈç ¶ÑÕ»  ´úÂë¶Î  Êý¾Ý¶Î ÔËÐеÄλÖÃ
int getrusage(int who , struct rusage * usage) ¼ì²é½ø³Ì±¾Éí£¬×Ó½ø³Ì»òÕßÁ½ÕßÖ®ºÍµÄ×ÊԴʹÓÃ
       º¯Êý·µ»ØÒ»¸öusage½á¹¹£¬´æ·Å½ø³ÌʹÓõÄ×ÊÔ´
       usageÊǺܳ¤µÄLinuxÖ»ÓÃǰÎåÏî
       whoÖ¸Ã÷ʹÓõÄ×ÊÔ´ÖÐÄÄÒ»ÖÖ½«±»·µ»Ø£¬whoÓÐÈýÖÖȡֵ
                RUSAGE_SELF           ½ø³Ì±¾ÉíʹÓõÄ×ÊÔ´
                RUSAGE_CHILDERN   ËùÓнø³ÌʹÓõÄ×ÊÔ´
                RUSAGE_BOSH           ±¾ÉíÒÔ¼°ËùÓÐ×Ó½ø³ÌʹÓÃ×ÊÔ´µÄºÍ
       º¯ÊýÖ´Ðйý³ÌÖÐrusage½á¹¹Ì彫»á±»Ìîд£¬ÔÚLinuxÖÐÌîдµÄÖ»ÓÐǰÎåÏî
                  #include <sys/resource.h>
                struct rusage{
                     struct timeval ru_utime;    Ö´ÐÐÓû§´úÂëËùÓõÄÈ«²¿Ê±¼ä£¬°üÀ¨ÓÃÀ´ÔËÐÐÓ¦ÓÃÖ¸ÁîµÄʱ¼ä£¬
                                                               ²»°üÀ¨ÄÚºËÓÃÀ´Íê³ÉÓ¦ÓóÌÐòÇëÇóµÄʱ¼ä
                &


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃæ»¯


´´½¨×ÀÃæÍ¼±ê
Ŀǰ½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËÆµÄ·½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

Linux 0.11°æ ½ø³Ìµ÷¶ÈÎı¾½â˵

    0.11ºËÖнø³ÌµÄµ÷¶ÈÖ÷ÒªÓÉËĸö²¿·ÖÊý×é³É£ºµ÷¶È³õʼ»¯¡¢µ÷¶È¡¢Ë¯Ãß¡¢»½ÐÑ¡£
     Ò»¡¢µ÷¶È³õʼ»¯:sched_init()
     ÎÒÃÇÖªµÀÔÚÄں˳õʼ»¯£¨main£©¹ý³ÌÖУ¬Òª½«ÈÎÎñ0ת»»µ½Óû§Ì¬ÏÂÖ´ÐУ¬Ò²¾ÍÊǽ¨Á¢LinuxÖеĵÚÒ»¸öÓû§³ÌÐò¡£¼ÈÈ»ÈÎÎñ0֮ǰÊÇÔÚÄÚºË̬ÏÂÖ´Ðе ......

linuxϰ²×°openGL£¨mesa£©

1     ÏÂÔØ½âѹ
ÔÚ¹Ù·½ÍøÕ¾ÏÂÔØ×îÐÂmesa£¬mesaÖ÷ÒªÓÐÒÔϼ¸²¿·Ö£º
MesaLib-x.y.z - Mesa¿âÔ´´úÂ룬Çý¶¯ºÍÎĵµ¡£
MesaDemos-x.y.z - OpenGLµÄÑÝʾºÍ²âÊÔ³ÌÐò¡£¾ø´ó¶àÊýÐèÒªGLUT£¨Mark KilgardµÄԭʼGLUT£¯freeglut£¯OpenGLUT£©
MesaGLUT-x.y.z - Mark KilgardµÄGLUT£¬ÅäºÏmesaʹÓã¬Ò²ÓÐDOS, OS/2, ......

Linux USB Host ControllerµÄ³õʼ»¯´úÂë¿ò¼Ü·ÖÎö

usb_hcd_omap_probe (const struct hc_driver *driver) (dev/ohci/ohci-omap.c)
ÔÚÄ£¿é³õʼ»¯Ê±±»platform_driver_register()µ÷Óã¬ÓÃÀ´³õʼ»¯Óëohci_hcd_omap_driver
ÏàÆ¥ÅäµÄusbÖ÷¿ØÖÆÆ÷.
->usb_create_hcd(driver); ´´½¨Ò»¸ö´ú±íhost-controllerµÄÊý¾Ý½á¹¹(struct usb_hcd)²¢³õʼ»¯ core/hcd.h
->hcd = kz ......

LINUXÏÂUSB1.1É豸ѧϰС¼Ç(4)_uhci(2)


 
LINUXÏÂUSB1.1É豸ѧϰС¼Ç(4)_uhci(2)
 
À´Ô´: ChinaUnix²©¿Í ¡¡ÈÕÆÚ£º 2009.03.14 16:44¡¡(¹²ÓÐÌõÆÀÂÛ) ÎÒÒªÆÀÂÛ
 
ºÃ~ ÏÖÔÚÍòʾ㱸,ֻǷuhciÓ²¼þµÄ×¢²áÁË
ÏÖÔÚ̸һÏÂuhciÓ²¼þµÄ×é³É,uhciµÄÓ²¼þ·ÖΪÁ½¸ö´óµÄ²¿·Ö,Ö÷»ú¿ØÖÆÆ÷ºÍ¸ù¼¯Ï߯÷,ÈçÏÂͼ
µ±Ìá½»uhciÓ²¼þµÄ×¢²áµ½pci×ÜÏߺó,¾­¹ýÒ»ÂÖÆ¥Åä,Ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ