PyProfGenÀº ÇÁ·ÎÆÄÀÏ (ÃÖÀûÈ) Á¤º¸¸¦ ¸¸µé¾îÁÖ´Â ÅúÀÔ´Ï´Ù. gprof(1)ÀÇ Ãâ·ÂÀ» ¹Þ¾Æ¼ º¸±â ÁÁÀº HTML ÆÄÀϵé·Î ¸¸µé¾î ÁÝ´Ï´Ù.
PyProfGenÀÇ Ãâ·ÂÀº HTML ÆÄÀÏ·Î ¸¸µé¾îÁö±â ¶§¹®¿¡, ¹Ù·Î º¸½Ç ¼ö ÀÖ½À´Ï´Ù. ¿©±â¿¡¼ Ãâ·Â ³»¿ëÀ» º¸±â ¹Ù¶ø´Ï´Ù. Since PyProfGen generates HTML output, there's no screenshot
PyprofgenÀ» ¾²±â À§ÇØ ¸ÕÀú ÇÊ¿äÇÑ ¼ÒÇÁÆ®¿þ¾î°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇϰí (¾Æ·¡ Âü°í), ´ÙÀ½ °úÁ¤À» µû¶ó ÇÏ¸é µË´Ï´Ù:
$ tar -xzf pyprofgen-0.2.tar.gz $ cd pyprofgen-0.2 $ make PREFIX="/usr/local" all $ make PREFIX="/usr/local" install $ _
$ ls
demo.c
$ gcc -g -pg -o demo demo.c -lc_p
$ ./demo
$ ls -F
demo* demo.c gmon.out
$ pyprofgen --help
USAGE: pyprofgen [OPTION...] executable [gmon.out]
Generate HTML documents from gmon.out
-d DIR, Set the output directory to DIR,
--directory=DIR (default: doc)
-q, --quiet Quite mode, (default: verbose mode)
-h, --help Show help message
-v, --version Print version information
Report bugs to <cinsky at gmail.com>.
$ pyprofgen demo gmon.out
...
$ ls -F
demo* demo.c gmon.out prof/
$ elinks prof/html/index.html # use your favorite browsers.
$ _ÀÌ ÅøÀÇ À̸§ÀÌ ¶æÇϵí, PyProfGenÀº gprof(1)ÀÇ Ãâ·ÂÀ» ºÐ¼®Çϱâ À§ÇØ PythonÀ» ¾¹´Ï´Ù. °³¹ß½Ã Å×½ºÆÃÇÑ È¯°æÀº ´ÙÀ½°ú °°½À´Ï´Ù:
PyProfGenÀº ¾ÆÁ÷ ÇÁ·ÎÅäŸÀÔ ¼öÁØÀ̸ç, ¾Æ·¡ ¾ÐÃà ÆÄÀÏÀ» ¹ÞÀ¸½Ã°Å³ª Á¦ °ø°³ CVS Repository¿¡¼ ÃֽйöÀüÀ» ¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù.
ÃֽйöÀüÀÇ ¼Ò½º´Â Á¦ CVS ¼¹ö¿¡¼ ¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù. ¾Æ·¡¿¡¼ ¾ÏÈ£¸¦ ¹°¾îº¼ ¶§ <RET> ¶Ç´Â <Enter> ۸¦ ´©¸£½Ã¸é µË´Ï´Ù. (°¡´ÉÇϸé CVS ¹öÀüÀ» ÀÌ¿ëÇϱ⠹ٶø´Ï´Ù. À§ÀÇ .tar.gz snapshotÀº ±×¸® ÃÖ½ÅÀÌ ¾Æ´Õ´Ï´Ù.
MODULE-NAMEÀº "pyprofgen"À̸ç, ¿©±â¿¡ Á¢¼Ó ¹æ¹ýÀÌ ³ª¿Í ÀÖ½À´Ï´Ù.
$Id: index-ko.html,v 1.5 2008/04/27 14:22:13 cinsk Exp $