profil

Autres langues

Langue: ja

Version: 1993-07-23 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

̾Á°

profil - ¼Â¹Ô»þ´Ö¥×¥í¥Õ¥¡¥¤¥ë (profile)

½ñ¼°

#include <unistd.h>

int profil(u_short *buf, size_t bufsiz, size_t offset, u_int scale);

ÀâÌÀ

¤³¤Î¥ë¡¼¥Æ¥£¥ó¤Ï¥×¥í¥°¥é¥à¤Î¤É¤³¤ÎÉôʬ¤Ç»þ´Ö¤òÈñ¤ä¤·¤Æ¤¤¤ë¤«¤òÄ´¤Ù¤ë ¼êÃʤòÄ󶡤¹¤ë¡£°ú¤­¿ô buf ¤Ï bufsiz ¥Ð¥¤¥È¤Î¥á¥â¥ê¤ò»Ø¤·¤Æ¤¤¤ë¡£²¾ÁۤΠ10 ¥ß¥êÉ䴤Ȥˡ¢¥æ¡¼¥¶¡¼¤Î ¥×¥í¥°¥é¥à¡¦¥«¥¦¥ó¥¿¡¼ (PC) ¤¬¸¡ºº¤µ¤ì¤ë: offset ¤¬°ú¤«¤ì¡¢¤½¤Î·ë²Ì¤¬ scale Çܤµ¤ì 65536 ¤Ç³ä¤é¤ì¤ë¡£ ·ë²Ì¤¬ bufsiz ¤è¤ê¾®¤µ¤¤¾ì¹ç¤Ï buf ¤ÎÂбþ¤¹¤ë¥¨¥ó¥È¥ê¤¬¥¤¥ó¥¯¥ê¥á¥ó¥È¤µ¤ì¤ë¡£ buf ¤¬ NULL ¤Ê¤é¤Ð¡¢¥×¥í¥Õ¥¡¥¤¥ë (profile) ¤Ï̵¸ú¤Ë¤µ¤ì¤ë¡£

ÊÖ¤êÃÍ

¾ï¤Ë 0 ¤¬ÊÖ¤µ¤ì¤ë¡£

½àµò

SVr4 ¤Î¥³¡¼¥ë¤Ë»÷¤Æ¤¤¤ë (¤·¤«¤· POSIX.1-2001 ¤Ç¤Ï¤Ê¤¤)¡£

¥Ð¥°

profil() ¤Ï ITIMER_PROF itimer ¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤Ë»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¡£

ËÜÅö¤Î¥«¡¼¥Í¥ë¡¦¥×¥í¥Õ¥¡¥¤¥ë¤Ï¤è¤êÀµ³Î¤Ê·ë²Ì¤òÍ¿¤¨¤ë¡£ libc 4.4 ¤Ë¤Ï¥·¥¹¥Æ¥à¥³¡¼¥ë profil ¤òÄ󶡤¹¤ë¤¿¤á¤Î ¥«¡¼¥Í¥ë¥Ñ¥Ã¥Á¤¬´Þ¤Þ¤ì¤Æ¤¤¤¿¡£

´ØÏ¢¹àÌÜ

gprof(1), setitimer(2), sigaction(2), signal(2)