全文预览

2015Linux操作系统下C语言编程入门

上传者:蓝天 |  格式:pdf  |  页数:95 |  大小:11914KB

文档介绍
''a\rfor(i=0; i<5000000; i++)\rsum += i;\rprintf ("The string printed backward is %s Z# string2);\r)\r$ gcc -pg -o hello hello, c $ . /hello $ gprof hello more —¶·9.56 Flat\rprofile: Each sample counts as 0.01 seconds. % cumulative self self total time\rseconds seconds calls us/call us/call name 69. 23 0. 09 0. 09 1 90000. 00 103333. 33\rmy print2 30. 77 0. 13 0. 04 3 13333. 33 13333. 33 count _sum 0. 00 0. 13 0. 00 2 0. 00\r13333. 33 my_print % ’'Ԝ£¤ “–¤‡ˆÕtime’'“–¥‘¦\rcumulativeÖ×؝ ’'ԜÙ•“–seconds (ÚÛԜŸ ÜsœÙ•\r“ – ) self’'ԜÙ•“–seconds (Ÿ ÜsœÙ•“–g×Ý$l)\rcallsŸ ¡self›Ô’'ԜÙ•Þؓ–us/call total›Ô’'Ԝµ\r(sŸ Üsœus/callٕÞؓ–nameœ  ¼ ß9(àu9 6#’'\rmy print᜝âãäٕå擖#ç2s蟠° count _sum()œ#£9Ö×؝¯\r0.13.éê7gprof¶·Š‹à?ë#§¨ìíà¬”{î56ïð\rñy†¹zš.

收藏

分享

举报
下载此文档