GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PERFMON(4) FreeBSD Kernel Interfaces Manual (i386) PERFMON(4)

perfmon
CPU ????ǽ???˥????󥰤򤹤륤?󥿥ե?????

cpu "I586_CPU" cpu "I686_CPU" options PERFMON

perfmon ?ɥ饤?Фˤ??? Intel ?? Pentium ?? Pentium Pro ?? CPU ????????ǽ???˥????󥰵?ǽ?˥????????Ǥ??ޤ??? ???????Υץ????å??ˤ?¿?̤ʥ??٥??ȤˤĤ???ȯ???????ޤ??? (CPU ?????????Ǥ?) ??³???֤Τɤ??餫??¬?ꤹ???褦???????Ǥ??? 2 ?Ĥ??????????󥿤ȡ?Ʊ?????????å????????????????? 1 ?ĤΥ??????륫???󥿤??????????Ƥ??ޤ??? perfmon ?ɥ饤?ФǤϤ??????ε?ǽ???Ф??ƥǥХ????????ˤ??륤?󥿥ե??????????? ???ޤ???

??ǽ???˥????󥰤򤹤륫???󥿤ؤ????ƤΥ????????? ?ǥХ??????ü??ե??????? “/dev/perfmon” ???޲??Ȥ??ƽ????????ޤ??? ???ΥǥХ??????󶡤??? ioctl(2) ?ꥯ?????Ȥ?¿?????? ⟨machine/perfmon.h⟩ ?????????????졢???Υե??????????ˤ? Pentium ?? Pentium Pro ?ץ????å???ξ???ο????ʥ????󥿤??????⤢???ޤ???

???ջ???: ???Ѳ?ǽ?ʥ??٥??Ȥν????ϥץ????å????˰ۤʤ??ޤ??? ???Ѥ????륤?٥??ȥ????ɤ?¬?ꤵ???? CPU ?η??????Ф??? Ŭ???Ǥ??뤳?Ȥ???ǧ???뤳?Ȥϥץ??????ޤ???Ǥ?Ǥ???

?ʲ??? ioctl(2) ?ꥯ?????Ȥ??????????Ƥ??ޤ?:

(struct pmc) ??¤?Τ??????????Ƥ????ѥ??᡼???ȥե饰?ǥ????󥿤????ꤷ?ޤ??? ?ʲ??Υե??????ɤ? struct pmc ???????????Ƥ??ޤ?:
???ꤹ?륫???????ֹ??Ǥ??? NPMC (???ߤ? 2) ???꾮?????ʤ????Фʤ??ޤ?????
???˥????٤??????Υ??٥??ȥ????ɤǡ? ⟨machine/perfmon.h⟩ ???????????Ƥ??ޤ???
???٥??Ȥη????б????????֤Υޥ??????ͤǤ? ( Intel ??ʸ???򻲾?)??
?????󥿤?Ư?????ѹ??????ե饰 (????????) ?Ǥ???
?????󥿤Υޥ??????ͤǤ????Ĥޤꡢ???衢?????ͤϻ??ꤵ?줿???Υ????å? ?ʾ? (???ϰʲ?) ?δַ?³???륤?٥??Ȥ˥??????Ȥ????¤????٤˻??Ѥ????뤷?????? ?Ǥ???

???Τ褦?? pmc_flags ???ͤ??????????Ƥ??ޤ?:

???٥??Ȥ??桼???⡼?ɤǥ??????Ȥ??ޤ???
???٥??Ȥ򥫡??ͥ??⡼?ɤǥ??????Ȥ??ޤ???
???٥??Ȥ???³???֤ǤϤʤ????ο??ǥ??????Ȥ??ޤ???
?????󥿤Υޥ????????Ӥΰ?̣????ž???ޤ???
(struct pmc) ???ꤵ?줿?????󥿤θ??ߤ????????֤??ޤ???
 
(int) ???ꤷ???????󥿤???ư (????) ???ޤ????ϡ??ɥ??????η??٤ˤ??ꡢ?ֹ????? ??ư?????ߤ򤷤ʤ????Фʤ??ޤ????? (¨???????????? 0 ??ɬ???ޤ????????? 1 ?????ߤ??Ƥ??????ߤ??ʤ????Фʤ??ޤ???)?? ?ɥ饤?ФǤϤ????????? ???????Ƥ??ޤ??? (?ȸ????Τ⾭???? CPU ?ǤϤ????????Ϥʤ??ʤ뤫???Τ??ޤ???)??
(int) ???ꤵ?줿?????󥿤? 0 ?˥ꥻ?åȤ??ޤ????????󥿤ϥꥻ?åȤ??????? PMIOSTOP ?ˤ??????ߤ????ʤ????Фʤ??ޤ????????ƤΥ????󥿤ϼ?ưŪ?? PMIOSETUP ?ˤ??äƥꥻ?åȤ????ޤ???
(struct pmc_data) ?????󥿤θ??ߤ??ͤ??????Ф??ޤ??? pmc_data ??¤?Τˤϼ??Τ褦?? 2 ?ĤΥե??????ɤ??????????Ƥ??ޤ?:

?ɤ߽Ф??????󥿤??ֹ档
64 ?ӥåȤ??????դ??????Ǥν?λ?͡?

???衢 Pentium Pro ?ץ????å????? ?????󥿤?ľ???ɤ߽Ф??٤? RDPMC ̿???????ѽ??????ͤˤʤ??Ǥ??礦??

(struct pmc_tstamp) ?????ॹ?????ץ????󥿤??ɤ߽Ф??ޤ??? pmc_tstamp ??¤?ΤǤ? 2 ?ĤΥե??????ɤ??????????Ƥ??ޤ?:

?????󥿤? MHz ?ǤΤ????褽??®?٤Ǥ???
64 ?ӥå??????ǤΥ????󥿤θ??ߤ??ͤǤ???

pmct_rate ?ե??????ɤ?Ϳ???????륫???󥿤?®?٤ϡ? ???????????ʻ??䥯???å??οʹԤ??Դ????ʰ٤ˡ? ?????ˤ??????ΤǤϤʤ????Ȥ????դ??????????ڤǤ??? ???Υե??????ɤˤĤ??Ƥ? ?????å???????®?٤??ºݤ?ɽ?????????ΤȤ????????? ?꤬???꤫????Ŭ?????θ??????餤?˹ͤ????٤??Ǥ???

/dev/perfmon
?????󥿤ؤ?ʸ?????ǥХ????Υ??󥿥ե?????
/usr/include/machine/perfmon.h
??¤?Τȥ??٥??ȥ????ɤ????????Ƥ??륤?󥯥롼?ɥե?????
/usr/share/examples/perfmon
???Ƥ? ioctl() ???ޥ??ɤλ??Ѥ?????Ū???㼨?????????ץ??Υ???????????

ioctl(2) Intel Corporation, Pentium Pro Family Developer's Manual, vol. 3, January 1996, Operating System Writer's Manual. ?????ƥ른???ѥ?????????, Pentium Pro ?ե??ߥ꡼ ?ǥ??٥??åѡ??? ?ޥ˥奢??, ????, January 1996, ???ڥ졼?ƥ????? ?????ƥ? ?饤?????? ?ޥ˥奢??.

perfmon ?ǥХ????? FreeBSD 2.2 ?ǽ????Ƹ????ޤ?????

perfmon ?ɥ饤?Ф? Garrett A. Wollman, MIT Laboratory for Computer Science ???񤭤ޤ?????
March 26, 1996 FreeBSD 2.2

Search for    or go to Top of page |  Section 4 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.