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
PROFIL(2) FreeBSD System Calls Manual PROFIL(2)

̾??

profil?ץ??????Υץ??ե??????????椹??

Standard C Library (libc, -lc)

<unistd.h> int (char *samples, size_t size, vm_offset_t offset, int scale)

profil() ?????ƥॳ?????ϡ????ߤΥץ??????Υ????󥿥ץ??ե???????ͭ?????ޤ??? ̵???????ޤ??? ?ץ??ե????뤬ͭ???ʾ??硢?ץ??ե????륯???å????å????Ȥˡ??????ͥ??? samples ?Хåե?????Ŭ?ڤʥ??????Ȥ򹹿????ޤ??? ?ץ??ե????륯???å??μ??ȿ??ϡ? ?ץ??ե????????ϥե????????Υإå????˵?Ͽ?????ޤ???

?Хåե? samples ?ˤ? size ?Х??Ȥ??ޤޤ??Ƥ??ꡢ??Ϣ?? 16 ?ӥåȤβ???ʬ?䤵???ޤ??? ?Ʋ??ϡ??ץ??ե????뤬ͭ?????˥ץ??ե????륯???å????å???ȯ???????Ȥ??ˡ? ?ץ??????५???󥿤??ץ????????????̤ʥ??ɥ쥹?ϰ????ˤ??ä??????? ???????Ȥ??ޤ??? ?????Υץ??????५???󥿥??ɥ쥹?ˤĤ??ơ??б????????ο??? ???δط??ˤ??ä?Ϳ???????ޤ???

[(pc - offset) / 2] * scale / 65536

offset ?????ϡ??????ͥ뤬?ץ??????५???󥿥????ץ??? ?????Ǥ??㤤???ɥ쥹?Ǥ??? scale ???????ϰϤ? 1 ???? 65536 ?Ǥ??ꡢ ???ι????????ѹ??????Τ˻??ѤǤ??ޤ??? ???????? 65536 ?ϡ??Ʋ??򥢥ɥ쥹?ϰϤ? 2 ?Х??Ȥ˳??????Ƥޤ??? ???????? 32768 ?? 4 ?Х??ȡ?16384 ?? 8 ?Х??ȡ?????Ʊ?ͤǤ??? ???֤??ͤϤ????褽???֤??ϰϤ?Ϳ???ޤ??? scale ?ͤ? 0 ?ξ??硢?ץ??ե???????̵???ˤʤ??ޤ???

The profil() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

/usr/lib/gcrt0.o
?ץ??ե??????????Ѥ? C ???󥿥??ॹ?????ȥ??åץե?????
gmon.out
?ץ??ե????????ϥե??????ν?????̾??

???Υ??顼?????𤵤?????ǽ?????????ޤ?:

[EFAULT]
?Хåե? samples ??̵???ʥ??ɥ쥹?????äƤ??ޤ???

gprof(1)

() ?ؿ??? Version 7 AT&T UNIX ???о줷?ޤ?????

???Υ롼??????̾???? () ?ˤ??٤??Ǥ???

samples ???????????ϥ٥??ȥ? unsigned short ?Υ٥??ȥ??Ǥ???ɬ?פ??????ޤ???

gmon.out ?ե??????η????ϵ??Ҥ????Ƥ??ޤ?????

June 4, 1993 FreeBSD 14.3-RELEASE

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

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