óÀ½, ÀÌÀü, ´ÙÀ½, ¸¶Áö¸· ¼½¼Ç, ¸ñÂ÷


º» ¸Å´º¾ó¿¡¼­´Â GNU ÇÁ·ÎÆÄÀÏ·¯ÀÎ gprof¸¦ »ç¿ëÇÏ¿© ¿©·¯ºÐÀÌ ÀÛ¼ºÇÑ ÇÁ·Î±×·¥¿¡¼­ °¡Àå ¸¹Àº ½ÇÇà ½Ã°£À» Â÷ÁöÇÏ´Â ºÎºÐÀÌ ¾îµðÀÎÁö¸¦ ºÐ¼®ÇÏ´Â °úÁ¤°ú ÇÁ·ÎÆÄÀϸµÀÇ °³³äÀûÀÎ ³»¿ë¿¡ ´ëÇÏ¿© ¼³¸íÇÑ´Ù. º» ¸Å´º¾óÀÇ ³»¿ëÀ» ÀÌÇØÇϱâ À§Çؼ­´Â ÇÁ·Î±×·¥ÀÇ ÀÛ¼º, ÄÄÆÄÀÏ ¹× ½ÇÇà ¹æ¹ý¿¡ ´ëÇÑ »çÀü Áö½ÄÀÌ ÇÊ¿äÇÏ´Ù. GNU gprof´Â Jay FenlasonÀÌ Á¦ÀÛÇÏ¿´´Ù.

º» ¸Å´º¾óÀº 1993³â 1¿ù¿¡ Jeffrey Osier°¡ ÃÖÃÊ ÀÛ¼ºÇÏ¿´À¸¸ç, 1997³â 9¿ù¿¡ Brent Baccala°¡ º¸¿ÏÇÏ¿´´Ù.

º» ¸Å´º¾óÀÇ ÇÑ±Û ¹ø¿ªº»Àº 2000³â 11¿ù ±èÈ«¼÷(Hong-Soog Kim)ÀÌ ÃÖÃÊ·Î ÀÛ¼ºÇÏ¿´À¸¸ç, ¸¶Áö¸·À¸·Î ¼öÁ¤µÈ ³¯Â¥´Â 2001³â 6¿ù 23ÀÏÀÌ´Ù.

This manual was edited January 1993 by Jeffrey Osier and updated September 1997 by Brent Baccala.

Copyright (C) 1988, 1992, 1997, 1998 Free Software Foundation, Inc.

Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this manual into another language, under the same conditions as for modified versions.

ÇÁ·ÎÆÄÀϸµ¿¡ ´ëÇÑ ¼Ò°³

ÇÁ·Î±×·¥ÀÇ ÇÁ·ÎÆÄÀϸµÀ» ÅëÇÏ¿© ÇÁ·Î±×·¥ÀÇ ¾î´À ºÎºÐ¿¡¼­ °¡Àå ¸¹Àº ½ÇÇà ½Ã°£À» ¼ÒºñµÇ°í ÀÖ´Â Áö¿¡ ´ëÇÑ Á¤º¸ ¹× ÇÁ·Î±×·¥ ³»¿¡ Àִ  ÇÔ¼öµé°£ÀÇ È£Ãâ °ü°è¿¡ ´ëÇÑ Á¤º¸¸¦ ¾Ë ¼ö°¡ ÀÖ´Ù. ÀÌ·¯ÇÑ Á¤º¸´Â ÇÁ·Î±×·¡¸Ó¿¡°Ô ÇÁ·Î±×·¥ÀÇ ¾î´À ºÎºÐÀÌ ¿¹»óº¸´Ù ´À¸®°Ô ¼öÇàµÇ´Â Áö¿¡ ´ëÇÑ ºÐ¼® Á¤º¸¸¦ Á¦°øÇϹǷÎ, ÇÁ·Î±×·¥ÀÌ Á»´õ »¡¸® ¼öÇàµÇ°Ô ÇÏ·Á¸é ¾î´À ºÎºÐÀ» ¼öÁ¤ÇØ¾ß ÇÒÁö¿¡ ´ëÇÑ °¡ÀÌµå ¶óÀÎÀ» Á¦°øÇÑ´Ù. ¶ÇÇÑ ÀÌ·¯ÇÑ ÇÁ·ÎÆÄÀϸµ Á¤º¸´Â ¾î¶² ÇÔ¼ö°¡ »ý°¢ÇÑ °Íº¸´Ù ´õ ¸¹ÀÌ ¶Ç´Â ´õ Àû°Ô ¼öÇàµÇ´ÂÁö¸¦ ¾Ë·ÁÁÙ ¼öµµ ÀÖÀ¸¸ç, ÇÁ·ÎÆÄÀϸµÀ» ÇÏÁö ¾ÊÀº °æ¿ì¿¡ Áö³ªÃÆÀ» Áöµµ ¸ð¸¦ ¹ö±×¸¦ ¹ß°ßÇϴµ¥ µµ¿òÀ» ÁÙ ¼öµµ ÀÖ´Ù.

ÇÁ·ÎÆÄÀÏ·¯´Â ÇÁ·Î±×·¥ÀÇ ½ÇÁ¦ ½ÇÇàÀ» ÅëÇÏ¿© ¾ò¾îÁø Á¤º¸¸¦ »ç¿ëÇϱ⠶§¹®¿¡, ¼Ò½º Äڵ带 ´«À¸·Î º¸°í ºÐ¼®Çϱ⿡´Â ¹÷Âù º¹ÀâÇÑ ÇÁ·Î±×·¥À̳ª ´ëÇü ÇÁ·Î±×·¥¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Ù. ±×·¯³ª, ÇÁ·Î±×·¥ÀÌ ¾î¶»°Ô ½ÇÇàµÇ³Ä¿¡ µû¶ó ÇÁ·ÎÆÄÀÏ µ¥ÀÌÅÍ¿¡ ³ªÅ¸³ª´Â Á¤º¸°¡ ´Þ¶óÁú ¼öµµ ÀÖ´Ù. Áï, ÇÁ·ÎÆÄÀÏÇÏ°íÀÚ ÇÏ´Â ÇÁ·Î±×·¥ÀÇ Æ¯Á¤ ±â´ÉÀÌ ÇÁ·ÎÆÄÀϸµ °úÁ¤Áß¿¡ »ç¿ëµÇÁö ¾Ê´Â´Ù¸é, ÇØ´ç ±â´É¿¡ ´ëÇÑ ÇÁ·ÎÆÄÀÏ Á¤º¸¸¦ ºÐ¼®ÇÒ ¼ö°¡ ¾ø°Ô µÈ´Ù.

ÇÁ·ÎÆÄÀϸµÀº ´ÙÀ½°ú °°Àº ¸î °³ÀÇ °úÁ¤À¸·Î ±¸ºÐÇÒ ¼ö ÀÖ´Ù.

´ÙÀ½  ¼¼ °³ÀÇ Àå¿¡¼­ ÇÁ·ÎÆÄÀϸµÀ» À§ÇÑ °¢°¢ÀÇ °úÁ¤¿¡ ´ëÇÏ¿© »ó¼¼ÇÏ°Ô ¼³¸íÇÑ´Ù.

ÇÁ·ÎÆÄÀÏ µ¥ÀÌÅÍ ºÐ¼®À¸·ÎºÎÅÍ ´Ù¾çÇÑ ÇüÅÂÀÇ Ãâ·ÂÀÌ °¡´ÉÇÏ´Ù.

ÇÁ·ÎÆÄÀϸµ ºÐ¼® °á°ú´Â ÇÑ °³ÀÇ ÆÄÀÏ¿¡ ÀúÀåµÇ¸ç, ÀÌ ÆÄÀÏ¿¡´Â flat profile°ú call graph·Î ºÒ¸®¿ì´Â µÎ °³ÀÇ Å×À̺í°ú À̵é Å×À̺íÀÇ ³»¿ë¿¡ ´ëÇÑ °£·«ÇÑ ¼³¸íÀÌ Æ÷ÇԵǾî ÀÖ´Ù.

Flat profileÀº ÇÁ·Î±×·¥³»ÀÇ °¢°¢ÀÇ ÇÔ¼ö¿¡¼­ ¼ÒºñµÈ ½Ã°£°ú °¢°¢ÀÇ ÇÔ¼ö°¡ È£ÃâµÈ Ƚ¼ö¿¡ ´ëÇÑ Á¤º¸¸¦ Ç¥½ÃÇÑ´Ù. ¾î¶² ÇÔ¼ö°¡ °¡Àå ¸¹ÀÌ ½Ã°£À» ¼ÒºñÇÏ°í ÀÖ´ÂÁö¿¡ ´ëÇÑ Á¤º¸¸¸ ÇÊ¿äÇÏ´Ù¸é, Flat Profile ¼½¼Ç¿¡ °£°áÇÏ°Ô ±â¼úµÈ Á¤º¸¸¦ »ìÆ캼 ¼ö ÀÖ´Ù.

Call graph´Â ÇÁ·Î±×·¥³»ÀÇ °¢°¢ÀÇ ÇÔ¼öµé °£ÀÇ È£Ãâ °ü°è¿Í È£Ãâ Ƚ¼ö¿¡ ´ëÇÑ Á¤º¸¸¦ °¡Áö°í ÀÖ´Ù. ¶ÇÇÑ call graph¿¡´Â °¢°¢ÀÇ ÇÔ¼öÀÇ ¼­ºê·çƾ ³»¿¡¼­ ¼ÒºñÇÑ ½Ã°£¿¡ ´ëÇÑ ÃßÁ¤Ä¡ÀÇ Á¤º¸°¡ Æ÷ÇԵǾî ÀÖ´Ù. ÀÌ·¯ÇÑ Á¤º¸´Â °úµµÇÏ°Ô ¸¹Àº ½Ã°£ÀÌ ¼ÒºñµÇ´Â ÇÔ¼ö¸¦ Á¦°ÅÇÏ°íÀÚ ÇÒ ¶§ ÁöħÀ¸·Î »ç¿ëÇÒ ¼ö ÀÖ´Ù. Call graph ¼½¼Ç ÂüÁ¶

annotated source ¸®½ºÆÃÀº ÇÁ·Î±×·¥ÀÇ °¢°¢ÀÇ ¶óÀÎÀÌ ½ÇÇàµÈ Ƚ¼ö·Î ·¹À̺íµÈ ÇÁ·Î±×·¥ÀÇ ¼Ò½ºÄÚµåÀÇ »çº»ÀÌ´Ù. Annotated Source ¸®½ºÆà ¼½¼Ç Âü°í

ÇÁ·ÎÆÄÀϸµÀÇ µ¿ÀÛ°úÁ¤¿¡ ´ëÇÑ Á»´õ ±íÀÌÀÖ´Â ÀÌÇØÇÏ°íÀÚ ÇÑ´Ù¸é, ÇÁ·ÎÆÄÀϸµÀÇ ±¸Çö¿¡ ´ëÇÑ ¼³¸íÀÌ ÀÖ´Â ÇÁ·ÎÆÄÀϸµÀÇ ±¸Çö ¼½¼ÇÀ» ÂüÁ¶Çϱ⠹ٶõ´Ù.


óÀ½, ÀÌÀü, ´ÙÀ½, ¸¶Áö¸· ¼½¼Ç, ¸ñÂ÷