ã³ã³ãã¤ã«ã¨ãªã³ã¯æã«-pgãªãã·ã§ã³ãã¤ããã gcc -pg -o test test.c makefileãå©ç¨ããæã«ã¯ããªã³ã¯æã®ãªãã·ã§ã³ãä»ãå¿ãããã¨ãå¤ãã®ã§æ³¨æã ï¼ -pg ãä»ãã¦ä½æããï¼ããã°ã©ã ãæ®éã«å®è¡ããã ããã°ã©ã ãæ£å¸¸çµäºããã¨ã ã«ã¬ã³ããã£ã¬ã¯ããªã« gmon.out ã¨ãããã¡ã¤ã«ãçæããã¦ããã (Ctrl-Cã§æ¢ããããSegmentation Faultã§ç°å¸¸çµäºããæã«ã¯ gmon.out ã¯çæãããªãã®ã§ã注æãããã) ./test ls -F gmon.out test test.c
{{#tags}}- {{label}}
{{/tags}}