home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Utilities / top-0.5-MI / profile < prev    next >
Encoding:
Text File  |  1996-02-22  |  47.6 KB  |  1,046 lines

  1.  
  2.  
  3.  
  4. call graph profile:
  5.           The sum of self and descendents is the major sort
  6.           for this listing.
  7.  
  8.           function entries:
  9.  
  10. index     the index of the function in the call graph
  11.           listing, as an aid to locating it (see below).
  12.  
  13. %time     the percentage of the total time of the program
  14.           accounted for by this function and its
  15.           descendents.
  16.  
  17. self      the number of seconds spent in this function
  18.           itself.
  19.  
  20. descendents
  21.           the number of seconds spent in the descendents of
  22.           this function on behalf of this function.
  23.  
  24. called    the number of times this function is called (other
  25.           than recursive calls).
  26.  
  27. self      the number of times this function calls itself
  28.           recursively.
  29.  
  30. name      the name of the function, with an indication of
  31.           its membership in a cycle, if any.
  32.  
  33. index     the index of the function in the call graph
  34.           listing, as an aid to locating it.
  35.  
  36.  
  37.  
  38.           parent listings:
  39.  
  40. self*     the number of seconds of this function's self time
  41.           which is due to calls from this parent.
  42.  
  43. descendents*
  44.           the number of seconds of this function's
  45.           descendent time which is due to calls from this
  46.           parent.
  47.  
  48. called**  the number of times this function is called by
  49.           this parent.  This is the numerator of the
  50.           fraction which divides up the function's time to
  51.           its parents.
  52.  
  53. total*    the number of times this function was called by
  54.           all of its parents.  This is the denominator of
  55.           the propagation fraction.
  56.  
  57. parents   the name of this parent, with an indication of the
  58.           parent's membership in a cycle, if any.
  59.  
  60. index     the index of this parent in the call graph
  61.           listing, as an aid in locating it.
  62.  
  63.  
  64.  
  65.           children listings:
  66.  
  67. self*     the number of seconds of this child's self time
  68.           which is due to being called by this function.
  69.  
  70. descendent*
  71.           the number of seconds of this child's descendent's
  72.           time which is due to being called by this
  73.           function.
  74.  
  75. called**  the number of times this child is called by this
  76.           function.  This is the numerator of the
  77.           propagation fraction for this child.
  78.  
  79. total*    the number of times this child is called by all
  80.           functions.  This is the denominator of the
  81.           propagation fraction.
  82.  
  83. children  the name of this child, and an indication of its
  84.           membership in a cycle, if any.
  85.  
  86. index     the index of this child in the call graph listing,
  87.           as an aid to locating it.
  88.  
  89.  
  90.  
  91.           * these fields are omitted for parents (or
  92.           children) in the same cycle as the function.  If
  93.           the function (or child) is a member of a cycle,
  94.           the propagated times and propagation denominator
  95.           represent the self time and descendent time of the
  96.           cycle as a whole.
  97.  
  98.           ** static-only parents and children are indicated
  99.           by a call count of 0.
  100.  
  101.  
  102.  
  103.           cycle listings:
  104.           the cycle as a whole is listed with the same
  105.           fields as a function entry.  Below it are listed
  106.           the members of the cycle, and their contributions
  107.           to the time and call counts of the cycle.
  108.  
  109.  
  110. granularity: each sample hit covers 4 byte(s) for 3.85% of 0.41 seconds
  111.  
  112.                                   called/total       parents 
  113. index  %time    self descendents  called+self    name        index
  114.                                   called/total       children
  115.  
  116.                                                      <spontaneous>
  117. [1]     37.8    0.00        0.15                 start [1]
  118.                 0.00        0.15       1/1           _main [2]
  119.  
  120. -----------------------------------------------
  121.  
  122.                 0.00        0.15       1/1           start [1]
  123. [2]     37.8    0.00        0.15       1         _main [2]
  124.                 0.02        0.06      15/15          _get_process_info [3]
  125.                 0.00        0.03       1/1           _machine_init [8]
  126.                 0.00        0.02     210/210         _u_process [13]
  127.                 0.00        0.02     225/225         _format_next_process [17]
  128.                 0.00        0.00       1/3           _getenv [27]
  129.                 0.00        0.00       1/1           _init_termcap [28]
  130.                 0.00        0.00      14/14          _u_memory [30]
  131.                 0.00        0.00      15/15          _i_process [31]
  132.                 0.00        0.00      15/269         _memset [25]
  133.                 0.00        0.00      14/14          _u_cpustates [32]
  134.                 0.00        0.00      14/14          _u_loadave [33]
  135.                 0.00        0.00      15/15          _i_timeofday [34]
  136.                 0.00        0.00       1/1           _i_loadave [35]
  137.                 0.00        0.00       1/1           _z_cpustates [36]
  138.                 0.00        0.00       1/1           _i_procstates [37]
  139.                 0.00        0.00      16/19          _fflush [641]
  140.                 0.00        0.00      15/15          _get_system_info [644]
  141.                 0.00        0.00      15/15          _time [651]
  142.                 0.00        0.00      15/15          _u_endscreen [652]
  143.                 0.00        0.00      15/15          _select [650]
  144.                 0.00        0.00      14/14          _u_procstates [657]
  145.                 0.00        0.00      14/14          _u_message [656]
  146.                 0.00        0.00      14/14          _u_header [655]
  147.                 0.00        0.00       4/4           _signal [661]
  148.                 0.00        0.00       3/3           _clear_message [662]
  149.                 0.00        0.00       2/1357        _read [624]
  150.                 0.00        0.00       2/2           _strchr [668]
  151.                 0.00        0.00       1/1           _setbuffer [690]
  152.                 0.00        0.00       1/1           _strrchr [695]
  153.                 0.00        0.00       1/1           _getopt [681]
  154.                 0.00        0.00       1/1           _format_header [679]
  155.                 0.00        0.00       1/1           _display_init [676]
  156.                 0.00        0.00       1/1           _display_header [675]
  157.                 0.00        0.00       1/1           _sigblock [692]
  158.                 0.00        0.00       1/1           _init_screen [685]
  159.                 0.00        0.00       1/1           _sigsetmask [693]
  160.                 0.00        0.00       1/1           _setjmp [691]
  161.                 0.00        0.00       1/1           _i_memory [684]
  162.                 0.00        0.00       1/15          _i_message [647]
  163.                 0.00        0.00       1/1           _i_header [683]
  164.                 0.00        0.00       1/1           _quit [688]
  165.                 0.00        0.00       1/1           _new_message [687]
  166.                 0.00        0.00       1/1           _readline [689]
  167.  
  168. -----------------------------------------------
  169.  
  170.                 0.02        0.06      15/15          _main [2]
  171. [3]     19.4    0.02        0.06      15         _get_process_info [3]
  172.                 0.00        0.05     840/840         _thread_stats [5]
  173.                 0.00        0.02     840/840         _task_stats [15]
  174.                 0.00        0.00      15/269         _memset [25]
  175.                 0.00        0.00     855/1353        _getkval [625]
  176.                 0.00        0.00      15/15          _qsort [649]
  177.  
  178. -----------------------------------------------
  179.  
  180.                                                      <spontaneous>
  181. [4]     15.4    0.06        0.00                 __doprnt [4]
  182.  
  183. -----------------------------------------------
  184.  
  185.                 0.00        0.05     840/840         _get_process_info [3]
  186. [5]     11.5    0.00        0.05     840         _thread_stats [5]
  187.                 0.03        0.00    1395/1395        _thread_info [7]
  188.                 0.02        0.00     840/840         _task_threads [16]
  189.                 0.00        0.00     840/1680        _task_by_unix_pid [623]
  190.                 0.00        0.00     840/840         _vm_deallocate [628]
  191.  
  192. -----------------------------------------------
  193.  
  194.                                                      <spontaneous>
  195. [6]      7.7    0.03        0.00                 rcopy [6]
  196.  
  197. -----------------------------------------------
  198.  
  199.                 0.03        0.00    1395/1395        _thread_stats [5]
  200. [7]      7.7    0.03        0.00    1395         _thread_info [7]
  201.  
  202. -----------------------------------------------
  203.  
  204.                 0.00        0.03       1/1           _main [2]
  205. [8]      7.7    0.00        0.03       1         _machine_init [8]
  206.                 0.03        0.00       1/1           _nlist [9]
  207.                 0.00        0.00       3/1353        _getkval [625]
  208.                 0.00        0.00       2/2           _open [667]
  209.                 0.00        0.00       2/6           _malloc [658]
  210.                 0.00        0.00       1/1           _getpagesize [682]
  211.  
  212. -----------------------------------------------
  213.  
  214.                 0.03        0.00       1/1           _machine_init [8]
  215. [9]      7.7    0.03        0.00       1         _nlist [9]
  216.  
  217. -----------------------------------------------
  218.  
  219.                                                      <spontaneous>
  220. [10]     7.7    0.03        0.00                 __malloc_fork_prepare [10]
  221.  
  222. -----------------------------------------------
  223.  
  224.                                                      <spontaneous>
  225. [11]     7.7    0.03        0.00                 _proc_compare [11]
  226.  
  227. -----------------------------------------------
  228.  
  229.                 0.00        0.00      14/224         _u_memory [30]
  230.                 0.00        0.02     210/224         _u_process [13]
  231. [12]     4.8    0.00        0.02     224         _line_update [12]
  232.                 0.01        0.00     224/269         _memset [25]
  233.                 0.01        0.00     567/691         _printf [26]
  234.  
  235. -----------------------------------------------
  236.  
  237.                 0.00        0.02     210/210         _main [2]
  238. [13]     4.5    0.00        0.02     210         _u_process [13]
  239.                 0.00        0.02     210/224         _line_update [12]
  240.  
  241. -----------------------------------------------
  242.  
  243.                 0.02        0.00     840/840         _task_stats [15]
  244. [14]     3.8    0.02        0.00     840         _task_info [14]
  245.  
  246. -----------------------------------------------
  247.  
  248.                 0.00        0.02     840/840         _get_process_info [3]
  249. [15]     3.8    0.00        0.02     840         _task_stats [15]
  250.                 0.02        0.00     840/840         _task_info [14]
  251.                 0.00        0.00     840/1680        _task_by_unix_pid [623]
  252.  
  253. -----------------------------------------------
  254.  
  255.                 0.02        0.00     840/840         _thread_stats [5]
  256. [16]     3.8    0.02        0.00     840         _task_threads [16]
  257.  
  258. -----------------------------------------------
  259.  
  260.                 0.00        0.02     225/225         _main [2]
  261. [17]     3.8    0.00        0.02     225         _format_next_process [17]
  262.                 0.02        0.00     225/225         _getu [18]
  263.                 0.00        0.00     450/450         _format_k [632]
  264.                 0.00        0.00     225/908         _strcpy [627]
  265.                 0.00        0.00     225/225         _strcat [637]
  266.                 0.00        0.00     225/225         _printable [636]
  267.                 0.00        0.00     225/225         _format_time [635]
  268.                 0.00        0.00     225/225         _username [638]
  269.                 0.00        0.00     225/451         _sprintf [631]
  270.  
  271. -----------------------------------------------
  272.  
  273.                 0.02        0.00     225/225         _format_next_process [17]
  274. [18]     3.8    0.02        0.00     225         _getu [18]
  275.                 0.00        0.00     450/1353        _getkval [625]
  276.                 0.00        0.00     225/225         _bcopy [634]
  277.                 0.00        0.00     225/908         _strcpy [627]
  278.                 0.00        0.00     225/228         _strlen [633]
  279.  
  280. -----------------------------------------------
  281.  
  282.                                                      <spontaneous>
  283. [19]     3.8    0.02        0.00                 _itoa7 [19]
  284.  
  285. -----------------------------------------------
  286.  
  287.                                                      <spontaneous>
  288. [20]     3.8    0.02        0.00                 _monsetup [20]
  289.  
  290. -----------------------------------------------
  291.  
  292.                                                      <spontaneous>
  293. [21]     3.8    0.02        0.00                 _msg_rpc [21]
  294.  
  295. -----------------------------------------------
  296.  
  297.                                                      <spontaneous>
  298. [22]     3.8    0.02        0.00                 _msg_rpc_trap [22]
  299.  
  300. -----------------------------------------------
  301.  
  302.                                                      <spontaneous>
  303. [23]     3.8    0.02        0.00                 _qst [23]
  304.  
  305. -----------------------------------------------
  306.  
  307.                                                      <spontaneous>
  308. [24]     3.8    0.02        0.00                 _task_resume [24]
  309.  
  310. -----------------------------------------------
  311.  
  312.                 0.00        0.00      15/269         _main [2]
  313.                 0.00        0.00      15/269         _i_process [31]
  314.                 0.00        0.00      15/269         _get_process_info [3]
  315.                 0.01        0.00     224/269         _line_update [12]
  316. [25]     3.8    0.02        0.00     269         _memset [25]
  317.  
  318. -----------------------------------------------
  319.  
  320.                 0.00        0.00       1/691         _i_procstates [37]
  321.                 0.00        0.00       5/691         _i_loadave [35]
  322.                 0.00        0.00       5/691         _z_cpustates [36]
  323.                 0.00        0.00      15/691         _i_timeofday [34]
  324.                 0.00        0.00      42/691         _u_loadave [33]
  325.                 0.00        0.00      56/691         _u_cpustates [32]
  326.                 0.01        0.00     567/691         _line_update [12]
  327. [26]     1.9    0.01        0.00     691         _printf [26]
  328.  
  329. -----------------------------------------------
  330.  
  331.                 0.00        0.00       1/3           _main [2]
  332.                 0.00        0.00       1/3           _init_termcap [28]
  333.                 0.00        0.00       1/3           _tgetent [29]
  334. [27]     1.9    0.01        0.00       3         _getenv [27]
  335.  
  336. -----------------------------------------------
  337.  
  338.                 0.00        0.00       1/1           _main [2]
  339. [28]     0.6    0.00        0.00       1         _init_termcap [28]
  340.                 0.00        0.00       1/3           _getenv [27]
  341.                 0.00        0.00       1/908         _strcpy [627]
  342.                 0.00        0.00       1/1           _get_screensize [680]
  343.                 0.00        0.00       1/5           _ioctl [659]
  344.  
  345. -----------------------------------------------
  346.  
  347.                                                      <spontaneous>
  348. [29]     0.6    0.00        0.00                 _tgetent [29]
  349.                 0.00        0.00       1/3           _getenv [27]
  350.                 0.00        0.00       1/908         _strcpy [627]
  351.  
  352. -----------------------------------------------
  353.  
  354.                 0.00        0.00      14/14          _main [2]
  355. [30]     0.3    0.00        0.00      14         _u_memory [30]
  356.                 0.00        0.00      14/224         _line_update [12]
  357.                 0.00        0.00      14/16          _summary_format [642]
  358.  
  359. -----------------------------------------------
  360.  
  361.                 0.00        0.00      15/15          _main [2]
  362. [31]     0.2    0.00        0.00      15         _i_process [31]
  363.                 0.00        0.00      15/269         _memset [25]
  364.                 0.00        0.00      15/20          _fputs [640]
  365.                 0.00        0.00      15/679         _strecpy [629]
  366.  
  367. -----------------------------------------------
  368.  
  369.                 0.00        0.00      14/14          _main [2]
  370. [32]     0.2    0.00        0.00      14         _u_cpustates [32]
  371.                 0.00        0.00      56/691         _printf [26]
  372.  
  373. -----------------------------------------------
  374.  
  375.                 0.00        0.00      14/14          _main [2]
  376. [33]     0.1    0.00        0.00      14         _u_loadave [33]
  377.                 0.00        0.00      42/691         _printf [26]
  378.  
  379. -----------------------------------------------
  380.  
  381.                 0.00        0.00      15/15          _main [2]
  382. [34]     0.0    0.00        0.00      15         _i_timeofday [34]
  383.                 0.00        0.00      15/691         _printf [26]
  384.                 0.00        0.00      15/15          _ctime [643]
  385.  
  386. -----------------------------------------------
  387.  
  388.                 0.00        0.00       1/1           _main [2]
  389. [35]     0.0    0.00        0.00       1         _i_loadave [35]
  390.                 0.00        0.00       5/691         _printf [26]
  391.                 0.00        0.00       1/1           _clear [673]
  392.  
  393. -----------------------------------------------
  394.  
  395.                 0.00        0.00       1/1           _main [2]
  396. [36]     0.0    0.00        0.00       1         _z_cpustates [36]
  397.                 0.00        0.00       5/691         _printf [26]
  398.  
  399. -----------------------------------------------
  400.  
  401.                 0.00        0.00       1/1           _main [2]
  402. [37]     0.0    0.00        0.00       1         _i_procstates [37]
  403.                 0.00        0.00       1/691         _printf [26]
  404.                 0.00        0.00       1/1           _digits [674]
  405.                 0.00        0.00       1/16          _summary_format [642]
  406.                 0.00        0.00       1/20          _fputs [640]
  407.                 0.00        0.00       1/1           _memmove [686]
  408.  
  409. -----------------------------------------------
  410.  
  411.                 0.00        0.00    3441/3441        _tputs [3252]
  412. [622]    0.0    0.00        0.00    3441         _putstdout [622]
  413.                 0.00        0.00       1/1           __flsbuf [671]
  414.  
  415. -----------------------------------------------
  416.  
  417.                 0.00        0.00     840/1680        _thread_stats [5]
  418.                 0.00        0.00     840/1680        _task_stats [15]
  419. [623]    0.0    0.00        0.00    1680         _task_by_unix_pid [623]
  420.  
  421. -----------------------------------------------
  422.  
  423.                 0.00        0.00       2/1357        _main [2]
  424.                 0.00        0.00       2/1357        _readline [689]
  425.                 0.00        0.00    1353/1357        _getkval [625]
  426. [624]    0.0    0.00        0.00    1357         _read [624]
  427.  
  428. -----------------------------------------------
  429.  
  430.                 0.00        0.00       3/1353        _machine_init [8]
  431.                 0.00        0.00      45/1353        _get_system_info [644]
  432.                 0.00        0.00     450/1353        _getu [18]
  433.                 0.00        0.00     855/1353        _get_process_info [3]
  434. [625]    0.0    0.00        0.00    1353         _getkval [625]
  435.                 0.00        0.00    1353/1353        _lseek [626]
  436.                 0.00        0.00    1353/1357        _read [624]
  437.  
  438. -----------------------------------------------
  439.  
  440.                 0.00        0.00    1353/1353        _getkval [625]
  441. [626]    0.0    0.00        0.00    1353         _lseek [626]
  442.  
  443. -----------------------------------------------
  444.  
  445.                 0.00        0.00       1/908         _init_termcap [28]
  446.                 0.00        0.00       1/908         _get_screensize [680]
  447.                 0.00        0.00       1/908         _tgetent [29]
  448.                 0.00        0.00     225/908         _format_next_process [17]
  449.                 0.00        0.00     225/908         _getu [18]
  450.                 0.00        0.00     455/908         _tgoto [3224]
  451. [627]    0.0    0.00        0.00     908         _strcpy [627]
  452.  
  453. -----------------------------------------------
  454.  
  455.                 0.00        0.00     840/840         _thread_stats [5]
  456. [628]    0.0    0.00        0.00     840         _vm_deallocate [628]
  457.  
  458. -----------------------------------------------
  459.  
  460.                 0.00        0.00      15/679         _i_process [31]
  461.                 0.00        0.00     214/679         _summary_format [642]
  462.                 0.00        0.00     450/679         _format_k [632]
  463. [629]    0.0    0.00        0.00     679         _strecpy [629]
  464.  
  465. -----------------------------------------------
  466.  
  467.                 0.00        0.00     107/557         _summary_format [642]
  468.                 0.00        0.00     450/557         _format_k [632]
  469. [630]    0.0    0.00        0.00     557         _itoa [630]
  470.  
  471. -----------------------------------------------
  472.  
  473.                 0.00        0.00       1/451         _new_message [687]
  474.                 0.00        0.00     225/451         _format_time [635]
  475.                 0.00        0.00     225/451         _format_next_process [17]
  476. [631]    0.0    0.00        0.00     451         _sprintf [631]
  477.  
  478. -----------------------------------------------
  479.  
  480.                 0.00        0.00     450/450         _format_next_process [17]
  481. [632]    0.0    0.00        0.00     450         _format_k [632]
  482.                 0.00        0.00     450/557         _itoa [630]
  483.                 0.00        0.00     450/679         _strecpy [629]
  484.  
  485. -----------------------------------------------
  486.  
  487.                 0.00        0.00       1/228         _i_header [683]
  488.                 0.00        0.00       1/228         _new_message [687]
  489.                 0.00        0.00       1/228         _tnchktc [3248]
  490.                 0.00        0.00     225/228         _getu [18]
  491. [633]    0.0    0.00        0.00     228         _strlen [633]
  492.  
  493. -----------------------------------------------
  494.  
  495.                 0.00        0.00     225/225         _getu [18]
  496. [634]    0.0    0.00        0.00     225         _bcopy [634]
  497.  
  498. -----------------------------------------------
  499.  
  500.                 0.00        0.00     225/225         _format_next_process [17]
  501. [635]    0.0    0.00        0.00     225         _format_time [635]
  502.                 0.00        0.00     225/451         _sprintf [631]
  503.  
  504. -----------------------------------------------
  505.  
  506.                 0.00        0.00     225/225         _format_next_process [17]
  507. [636]    0.0    0.00        0.00     225         _printable [636]
  508.  
  509. -----------------------------------------------
  510.  
  511.                 0.00        0.00     225/225         _format_next_process [17]
  512. [637]    0.0    0.00        0.00     225         _strcat [637]
  513.  
  514. -----------------------------------------------
  515.  
  516.                 0.00        0.00     225/225         _format_next_process [17]
  517. [638]    0.0    0.00        0.00     225         _username [638]
  518.                 0.00        0.00       2/2           _get_user [665]
  519.  
  520. -----------------------------------------------
  521.  
  522.                 0.00        0.00      22/22          _i_message [647]
  523. [639]    0.0    0.00        0.00      22         _fputc [639]
  524.  
  525. -----------------------------------------------
  526.  
  527.                 0.00        0.00       1/20          _i_procstates [37]
  528.                 0.00        0.00       1/20          _i_header [683]
  529.                 0.00        0.00       1/20          _standout [694]
  530.                 0.00        0.00       2/20          _i_memory [684]
  531.                 0.00        0.00      15/20          _i_process [31]
  532. [640]    0.0    0.00        0.00      20         _fputs [640]
  533.  
  534. -----------------------------------------------
  535.  
  536.                 0.00        0.00       1/19          _end_screen [678]
  537.                 0.00        0.00       2/19          _readline [689]
  538.                 0.00        0.00      16/19          _main [2]
  539. [641]    0.0    0.00        0.00      19         _fflush [641]
  540.  
  541. -----------------------------------------------
  542.  
  543.                 0.00        0.00       1/16          _i_procstates [37]
  544.                 0.00        0.00       1/16          _i_memory [684]
  545.                 0.00        0.00      14/16          _u_memory [30]
  546. [642]    0.0    0.00        0.00      16         _summary_format [642]
  547.                 0.00        0.00     214/679         _strecpy [629]
  548.                 0.00        0.00     107/557         _itoa [630]
  549.  
  550. -----------------------------------------------
  551.  
  552.                 0.00        0.00      15/15          _i_timeofday [34]
  553. [643]    0.0    0.00        0.00      15         _ctime [643]
  554.  
  555. -----------------------------------------------
  556.  
  557.                 0.00        0.00      15/15          _main [2]
  558. [644]    0.0    0.00        0.00      15         _get_system_info [644]
  559.                 0.00        0.00      45/1353        _getkval [625]
  560.                 0.00        0.00      15/15          _percentages [648]
  561.                 0.00        0.00      15/15          _vm_statistics [653]
  562.                 0.00        0.00      15/15          _host_self [646]
  563.                 0.00        0.00      15/15          _host_info [645]
  564.  
  565. -----------------------------------------------
  566.  
  567.                 0.00        0.00      15/15          _get_system_info [644]
  568. [645]    0.0    0.00        0.00      15         _host_info [645]
  569.  
  570. -----------------------------------------------
  571.  
  572.                 0.00        0.00      15/15          _get_system_info [644]
  573. [646]    0.0    0.00        0.00      15         _host_self [646]
  574.  
  575. -----------------------------------------------
  576.  
  577.                 0.00        0.00       1/15          _main [2]
  578.                 0.00        0.00      14/15          _u_message [656]
  579. [647]    0.0    0.00        0.00      15         _i_message [647]
  580.                 0.00        0.00      22/22          _fputc [639]
  581.                 0.00        0.00       1/4           _clear_eol [660]
  582.  
  583. -----------------------------------------------
  584.  
  585.                 0.00        0.00      15/15          _get_system_info [644]
  586. [648]    0.0    0.00        0.00      15         _percentages [648]
  587.  
  588. -----------------------------------------------
  589.  
  590.                 0.00        0.00      15/15          _get_process_info [3]
  591. [649]    0.0    0.00        0.00      15         _qsort [649]
  592.  
  593. -----------------------------------------------
  594.  
  595.                 0.00        0.00      15/15          _main [2]
  596. [650]    0.0    0.00        0.00      15         _select [650]
  597.  
  598. -----------------------------------------------
  599.  
  600.                 0.00        0.00      15/15          _main [2]
  601. [651]    0.0    0.00        0.00      15         _time [651]
  602.  
  603. -----------------------------------------------
  604.  
  605.                 0.00        0.00      15/15          _main [2]
  606. [652]    0.0    0.00        0.00      15         _u_endscreen [652]
  607.  
  608. -----------------------------------------------
  609.  
  610.                 0.00        0.00      15/15          _get_system_info [644]
  611. [653]    0.0    0.00        0.00      15         _vm_statistics [653]
  612.  
  613. -----------------------------------------------
  614.  
  615.                 0.00        0.00      14/14          _u_procstates [657]
  616. [654]    0.0    0.00        0.00      14         _memcmp [654]
  617.  
  618. -----------------------------------------------
  619.  
  620.                 0.00        0.00      14/14          _main [2]
  621. [655]    0.0    0.00        0.00      14         _u_header [655]
  622.  
  623. -----------------------------------------------
  624.  
  625.                 0.00        0.00      14/14          _main [2]
  626. [656]    0.0    0.00        0.00      14         _u_message [656]
  627.                 0.00        0.00      14/15          _i_message [647]
  628.  
  629. -----------------------------------------------
  630.  
  631.                 0.00        0.00      14/14          _main [2]
  632. [657]    0.0    0.00        0.00      14         _u_procstates [657]
  633.                 0.00        0.00      14/14          _memcmp [654]
  634.  
  635. -----------------------------------------------
  636.  
  637.                 0.00        0.00       1/6           _display_resize [677]
  638.                 0.00        0.00       2/6           _machine_init [8]
  639.                 0.00        0.00       3/6           _display_init [676]
  640. [658]    0.0    0.00        0.00       6         _malloc [658]
  641.  
  642. -----------------------------------------------
  643.  
  644.                 0.00        0.00       1/5           _init_termcap [28]
  645.                 0.00        0.00       1/5           _end_screen [678]
  646.                 0.00        0.00       1/5           _get_screensize [680]
  647.                 0.00        0.00       2/5           _init_screen [685]
  648. [659]    0.0    0.00        0.00       5         _ioctl [659]
  649.  
  650. -----------------------------------------------
  651.  
  652.                 0.00        0.00       1/4           _i_message [647]
  653.                 0.00        0.00       3/4           _clear_message [662]
  654. [660]    0.0    0.00        0.00       4         _clear_eol [660]
  655.  
  656. -----------------------------------------------
  657.  
  658.                 0.00        0.00       4/4           _main [2]
  659. [661]    0.0    0.00        0.00       4         _signal [661]
  660.  
  661. -----------------------------------------------
  662.  
  663.                 0.00        0.00       3/3           _main [2]
  664. [662]    0.0    0.00        0.00       3         _clear_message [662]
  665.                 0.00        0.00       3/4           _clear_eol [660]
  666.  
  667. -----------------------------------------------
  668.  
  669.                 0.00        0.00       3/3           _display_init [676]
  670. [663]    0.0    0.00        0.00       3         _string_count [663]
  671.  
  672. -----------------------------------------------
  673.  
  674.                 0.00        0.00       2/2           _get_user [665]
  675. [664]    0.0    0.00        0.00       2         _enter_user [664]
  676.                 0.00        0.00       2/2           _strncpy [669]
  677.  
  678. -----------------------------------------------
  679.  
  680.                 0.00        0.00       2/2           _username [638]
  681. [665]    0.0    0.00        0.00       2         _get_user [665]
  682.                 0.00        0.00       2/2           _getpwuid [666]
  683.                 0.00        0.00       2/2           _enter_user [664]
  684.  
  685. -----------------------------------------------
  686.  
  687.                 0.00        0.00       2/2           _get_user [665]
  688. [666]    0.0    0.00        0.00       2         _getpwuid [666]
  689.  
  690. -----------------------------------------------
  691.  
  692.                 0.00        0.00       2/2           _machine_init [8]
  693. [667]    0.0    0.00        0.00       2         _open [667]
  694.  
  695. -----------------------------------------------
  696.  
  697.                 0.00        0.00       2/2           _main [2]
  698. [668]    0.0    0.00        0.00       2         _strchr [668]
  699.  
  700. -----------------------------------------------
  701.  
  702.                 0.00        0.00       2/2           _enter_user [664]
  703. [669]    0.0    0.00        0.00       2         _strncpy [669]
  704.  
  705. -----------------------------------------------
  706.  
  707.                 0.00        0.00       1/1           _exit [1906]
  708. [670]    0.0    0.00        0.00       1         __atexit [670]
  709.  
  710. -----------------------------------------------
  711.  
  712.                 0.00        0.00       1/1           _putstdout [622]
  713. [671]    0.0    0.00        0.00       1         __flsbuf [671]
  714.  
  715. -----------------------------------------------
  716.  
  717.                 0.00        0.00       1/1           _readline [689]
  718. [672]    0.0    0.00        0.00       1         _atoi [672]
  719.  
  720. -----------------------------------------------
  721.  
  722.                 0.00        0.00       1/1           _i_loadave [35]
  723. [673]    0.0    0.00        0.00       1         _clear [673]
  724.  
  725. -----------------------------------------------
  726.  
  727.                 0.00        0.00       1/1           _i_procstates [37]
  728. [674]    0.0    0.00        0.00       1         _digits [674]
  729.  
  730. -----------------------------------------------
  731.  
  732.                 0.00        0.00       1/1           _main [2]
  733. [675]    0.0    0.00        0.00       1         _display_header [675]
  734.  
  735. -----------------------------------------------
  736.  
  737.                 0.00        0.00       1/1           _main [2]
  738. [676]    0.0    0.00        0.00       1         _display_init [676]
  739.                 0.00        0.00       3/3           _string_count [663]
  740.                 0.00        0.00       3/6           _malloc [658]
  741.                 0.00        0.00       1/1           _display_resize [677]
  742.  
  743. -----------------------------------------------
  744.  
  745.                 0.00        0.00       1/1           _display_init [676]
  746. [677]    0.0    0.00        0.00       1         _display_resize [677]
  747.                 0.00        0.00       1/6           _malloc [658]
  748.  
  749. -----------------------------------------------
  750.  
  751.                 0.00        0.00       1/1           _quit [688]
  752. [678]    0.0    0.00        0.00       1         _end_screen [678]
  753.                 0.00        0.00       1/19          _fflush [641]
  754.                 0.00        0.00       1/5           _ioctl [659]
  755.  
  756. -----------------------------------------------
  757.  
  758.                 0.00        0.00       1/1           _main [2]
  759. [679]    0.0    0.00        0.00       1         _format_header [679]
  760.  
  761. -----------------------------------------------
  762.  
  763.                 0.00        0.00       1/1           _init_termcap [28]
  764. [680]    0.0    0.00        0.00       1         _get_screensize [680]
  765.                 0.00        0.00       1/5           _ioctl [659]
  766.                 0.00        0.00       1/908         _strcpy [627]
  767.  
  768. -----------------------------------------------
  769.  
  770.                 0.00        0.00       1/1           _main [2]
  771. [681]    0.0    0.00        0.00       1         _getopt [681]
  772.  
  773. -----------------------------------------------
  774.  
  775.                 0.00        0.00       1/1           _machine_init [8]
  776. [682]    0.0    0.00        0.00       1         _getpagesize [682]
  777.  
  778. -----------------------------------------------
  779.  
  780.                 0.00        0.00       1/1           _main [2]
  781. [683]    0.0    0.00        0.00       1         _i_header [683]
  782.                 0.00        0.00       1/228         _strlen [633]
  783.                 0.00        0.00       1/20          _fputs [640]
  784.  
  785. -----------------------------------------------
  786.  
  787.                 0.00        0.00       1/1           _main [2]
  788. [684]    0.0    0.00        0.00       1         _i_memory [684]
  789.                 0.00        0.00       2/20          _fputs [640]
  790.                 0.00        0.00       1/16          _summary_format [642]
  791.  
  792. -----------------------------------------------
  793.  
  794.                 0.00        0.00       1/1           _main [2]
  795. [685]    0.0    0.00        0.00       1         _init_screen [685]
  796.                 0.00        0.00       2/5           _ioctl [659]
  797.  
  798. -----------------------------------------------
  799.  
  800.                 0.00        0.00       1/1           _i_procstates [37]
  801. [686]    0.0    0.00        0.00       1         _memmove [686]
  802.  
  803. -----------------------------------------------
  804.  
  805.                 0.00        0.00       1/1           _main [2]
  806. [687]    0.0    0.00        0.00       1         _new_message [687]
  807.                 0.00        0.00       1/451         _sprintf [631]
  808.                 0.00        0.00       1/1           _standout [694]
  809.                 0.00        0.00       1/228         _strlen [633]
  810.  
  811. -----------------------------------------------
  812.  
  813.                 0.00        0.00       1/1           _main [2]
  814. [688]    0.0    0.00        0.00       1         _quit [688]
  815.                 0.00        0.00       1/1           _end_screen [678]
  816.  
  817. -----------------------------------------------
  818.  
  819.                 0.00        0.00       1/1           _main [2]
  820. [689]    0.0    0.00        0.00       1         _readline [689]
  821.                 0.00        0.00       2/19          _fflush [641]
  822.                 0.00        0.00       2/1357        _read [624]
  823.                 0.00        0.00       1/1           _atoi [672]
  824.  
  825. -----------------------------------------------
  826.  
  827.                 0.00        0.00       1/1           _main [2]
  828. [690]    0.0    0.00        0.00       1         _setbuffer [690]
  829.  
  830. -----------------------------------------------
  831.  
  832.                 0.00        0.00       1/1           _main [2]
  833. [691]    0.0    0.00        0.00       1         _setjmp [691]
  834.  
  835. -----------------------------------------------
  836.  
  837.                 0.00        0.00       1/1           _main [2]
  838. [692]    0.0    0.00        0.00       1         _sigblock [692]
  839.  
  840. -----------------------------------------------
  841.  
  842.                 0.00        0.00       1/1           _main [2]
  843. [693]    0.0    0.00        0.00       1         _sigsetmask [693]
  844.  
  845. -----------------------------------------------
  846.  
  847.                 0.00        0.00       1/1           _new_message [687]
  848. [694]    0.0    0.00        0.00       1         _standout [694]
  849.                 0.00        0.00       1/20          _fputs [640]
  850.  
  851. -----------------------------------------------
  852.  
  853.                 0.00        0.00       1/1           _main [2]
  854. [695]    0.0    0.00        0.00       1         _strrchr [695]
  855.  
  856. -----------------------------------------------
  857.  
  858.  
  859.  
  860.  
  861.  
  862. flat profile:
  863.  
  864.  %         the percentage of the total running time of the
  865. time       program used by this function.
  866.  
  867. cumulative a running sum of the number of seconds accounted
  868.  seconds   for by this function and those listed above it.
  869.  
  870.  self      the number of seconds accounted for by this
  871. seconds    function alone.  This is the major sort for this
  872.            listing.
  873.  
  874. calls      the number of times this function was invoked, if
  875.            this function is profiled, else blank.
  876.  
  877.  self      the average number of milliseconds spent in this
  878. ms/call    function per call, if this function is profiled,
  879.        else blank.
  880.  
  881.  total     the average number of milliseconds spent in this
  882. ms/call    function and its descendents per call, if this 
  883.        function is profiled, else blank.
  884.  
  885. name       the name of the function.  This is the minor sort
  886.            for this listing. The index shows the location of
  887.        the function in the gprof listing. If the index is
  888.        in parenthesis it shows where it would appear in
  889.        the gprof listing if it were to be printed.
  890.  
  891.  
  892. granularity: each sample hit covers 4 byte(s) for 2.78% of 0.56 seconds
  893.  
  894.   %   cumulative   self              self     total           
  895.  time   seconds   seconds    calls  ms/call  ms/call  name    
  896.  27.8       0.16     0.16                             _moncount (2459)
  897.  11.1       0.22     0.06                             __doprnt [4]
  898.   5.6       0.25     0.03     1395     0.02     0.02  _thread_info [7]
  899.   5.6       0.28     0.03        1    31.25    31.25  _nlist [9]
  900.   5.6       0.31     0.03                             __malloc_fork_prepare [10]
  901.   5.6       0.34     0.03                             _proc_compare [11]
  902.   5.6       0.38     0.03                             rcopy [6]
  903.   2.8       0.39     0.02      840     0.02     0.02  _task_info [14]
  904.   2.8       0.41     0.02      840     0.02     0.02  _task_threads [16]
  905.   2.8       0.42     0.02      269     0.06     0.06  _memset [25]
  906.   2.8       0.44     0.02      225     0.07     0.07  _getu [18]
  907.   2.8       0.45     0.02       15     1.04     5.27  _get_process_info [3]
  908.   2.8       0.47     0.02                             _itoa7 [19]
  909.   2.8       0.48     0.02                             _monsetup [20]
  910.   2.8       0.50     0.02                             _msg_rpc [21]
  911.   2.8       0.52     0.02                             _msg_rpc_trap [22]
  912.   2.8       0.53     0.02                             _qst [23]
  913.   2.8       0.55     0.02                             _task_resume [24]
  914.   1.4       0.55     0.01      691     0.01     0.01  _printf [26]
  915.   1.4       0.56     0.01        3     2.60     2.60  _getenv [27]
  916.   0.0       0.56     0.00     3441     0.00     0.00  _putstdout [622]
  917.   0.0       0.56     0.00     1680     0.00     0.00  _task_by_unix_pid [623]
  918.   0.0       0.56     0.00     1357     0.00     0.00  _read [624]
  919.   0.0       0.56     0.00     1353     0.00     0.00  _getkval [625]
  920.   0.0       0.56     0.00     1353     0.00     0.00  _lseek [626]
  921.   0.0       0.56     0.00      908     0.00     0.00  _strcpy [627]
  922.   0.0       0.56     0.00      840     0.00     0.02  _task_stats [15]
  923.   0.0       0.56     0.00      840     0.00     0.06  _thread_stats [5]
  924.   0.0       0.56     0.00      840     0.00     0.00  _vm_deallocate [628]
  925.   0.0       0.56     0.00      679     0.00     0.00  _strecpy [629]
  926.   0.0       0.56     0.00      557     0.00     0.00  _itoa [630]
  927.   0.0       0.56     0.00      451     0.00     0.00  _sprintf [631]
  928.   0.0       0.56     0.00      450     0.00     0.00  _format_k [632]
  929.   0.0       0.56     0.00      228     0.00     0.00  _strlen [633]
  930.   0.0       0.56     0.00      225     0.00     0.00  _bcopy [634]
  931.   0.0       0.56     0.00      225     0.00     0.07  _format_next_process [17]
  932.   0.0       0.56     0.00      225     0.00     0.00  _format_time [635]
  933.   0.0       0.56     0.00      225     0.00     0.00  _printable [636]
  934.   0.0       0.56     0.00      225     0.00     0.00  _strcat [637]
  935.   0.0       0.56     0.00      225     0.00     0.00  _username [638]
  936.   0.0       0.56     0.00      224     0.00     0.09  _line_update [12]
  937.   0.0       0.56     0.00      210     0.00     0.09  _u_process [13]
  938.   0.0       0.56     0.00       22     0.00     0.00  _fputc [639]
  939.   0.0       0.56     0.00       20     0.00     0.00  _fputs [640]
  940.   0.0       0.56     0.00       19     0.00     0.00  _fflush [641]
  941.   0.0       0.56     0.00       16     0.00     0.00  _summary_format [642]
  942.   0.0       0.56     0.00       15     0.00     0.00  _ctime [643]
  943.   0.0       0.56     0.00       15     0.00     0.00  _get_system_info [644]
  944.   0.0       0.56     0.00       15     0.00     0.00  _host_info [645]
  945.   0.0       0.56     0.00       15     0.00     0.00  _host_self [646]
  946.   0.0       0.56     0.00       15     0.00     0.00  _i_message [647]
  947.   0.0       0.56     0.00       15     0.00     0.06  _i_process [31]
  948.   0.0       0.56     0.00       15     0.00     0.01  _i_timeofday [34]
  949.   0.0       0.56     0.00       15     0.00     0.00  _percentages [648]
  950.   0.0       0.56     0.00       15     0.00     0.00  _qsort [649]
  951.   0.0       0.56     0.00       15     0.00     0.00  _select [650]
  952.   0.0       0.56     0.00       15     0.00     0.00  _time [651]
  953.   0.0       0.56     0.00       15     0.00     0.00  _u_endscreen [652]
  954.   0.0       0.56     0.00       15     0.00     0.00  _vm_statistics [653]
  955.   0.0       0.56     0.00       14     0.00     0.00  _memcmp [654]
  956.   0.0       0.56     0.00       14     0.00     0.05  _u_cpustates [32]
  957.   0.0       0.56     0.00       14     0.00     0.00  _u_header [655]
  958.   0.0       0.56     0.00       14     0.00     0.03  _u_loadave [33]
  959.   0.0       0.56     0.00       14     0.00     0.09  _u_memory [30]
  960.   0.0       0.56     0.00       14     0.00     0.00  _u_message [656]
  961.   0.0       0.56     0.00       14     0.00     0.00  _u_procstates [657]
  962.   0.0       0.56     0.00        6     0.00     0.00  _malloc [658]
  963.   0.0       0.56     0.00        5     0.00     0.00  _ioctl [659]
  964.   0.0       0.56     0.00        4     0.00     0.00  _clear_eol [660]
  965.   0.0       0.56     0.00        4     0.00     0.00  _signal [661]
  966.   0.0       0.56     0.00        3     0.00     0.00  _clear_message [662]
  967.   0.0       0.56     0.00        3     0.00     0.00  _string_count [663]
  968.   0.0       0.56     0.00        2     0.00     0.00  _enter_user [664]
  969.   0.0       0.56     0.00        2     0.00     0.00  _get_user [665]
  970.   0.0       0.56     0.00        2     0.00     0.00  _getpwuid [666]
  971.   0.0       0.56     0.00        2     0.00     0.00  _open [667]
  972.   0.0       0.56     0.00        2     0.00     0.00  _strchr [668]
  973.   0.0       0.56     0.00        2     0.00     0.00  _strncpy [669]
  974.   0.0       0.56     0.00        1     0.00     0.00  __atexit [670]
  975.   0.0       0.56     0.00        1     0.00     0.00  __flsbuf [671]
  976.   0.0       0.56     0.00        1     0.00     0.00  _atoi [672]
  977.   0.0       0.56     0.00        1     0.00     0.00  _clear [673]
  978.   0.0       0.56     0.00        1     0.00     0.00  _digits [674]
  979.   0.0       0.56     0.00        1     0.00     0.00  _display_header [675]
  980.   0.0       0.56     0.00        1     0.00     0.00  _display_init [676]
  981.   0.0       0.56     0.00        1     0.00     0.00  _display_resize [677]
  982.   0.0       0.56     0.00        1     0.00     0.00  _end_screen [678]
  983.   0.0       0.56     0.00        1     0.00     0.00  _format_header [679]
  984.   0.0       0.56     0.00        1     0.00     0.00  _get_screensize [680]
  985.   0.0       0.56     0.00        1     0.00     0.00  _getopt [681]
  986.   0.0       0.56     0.00        1     0.00     0.00  _getpagesize [682]
  987.   0.0       0.56     0.00        1     0.00     0.00  _i_header [683]
  988.   0.0       0.56     0.00        1     0.00     0.06  _i_loadave [35]
  989.   0.0       0.56     0.00        1     0.00     0.00  _i_memory [684]
  990.   0.0       0.56     0.00        1     0.00     0.01  _i_procstates [37]
  991.   0.0       0.56     0.00        1     0.00     0.00  _init_screen [685]
  992.   0.0       0.56     0.00        1     0.00     2.60  _init_termcap [28]
  993.   0.0       0.56     0.00        1     0.00    31.25  _machine_init [8]
  994.   0.0       0.56     0.00        1     0.00   153.65  _main [2]
  995.   0.0       0.56     0.00        1     0.00     0.00  _memmove [686]
  996.   0.0       0.56     0.00        1     0.00     0.00  _new_message [687]
  997.   0.0       0.56     0.00        1     0.00     0.00  _quit [688]
  998.   0.0       0.56     0.00        1     0.00     0.00  _readline [689]
  999.   0.0       0.56     0.00        1     0.00     0.00  _setbuffer [690]
  1000.   0.0       0.56     0.00        1     0.00     0.00  _setjmp [691]
  1001.   0.0       0.56     0.00        1     0.00     0.00  _sigblock [692]
  1002.   0.0       0.56     0.00        1     0.00     0.00  _sigsetmask [693]
  1003.   0.0       0.56     0.00        1     0.00     0.00  _standout [694]
  1004.   0.0       0.56     0.00        1     0.00     0.00  _strrchr [695]
  1005.   0.0       0.56     0.00        1     0.00     0.06  _z_cpustates [36]
  1006.  
  1007. Index by function name
  1008.  
  1009.  [670] __atexit            [684] _i_memory           [691] _setjmp            
  1010.    [4] __doprnt            [647] _i_message          [692] _sigblock          
  1011.  [671] __flsbuf             [31] _i_process          [661] _signal            
  1012.   [10] __malloc_fork_prepa  [37] _i_procstates       [693] _sigsetmask        
  1013.  [672] _atoi                [34] _i_timeofday        [631] _sprintf           
  1014.  [634] _bcopy              [685] _init_screen        [694] _standout          
  1015.  [673] _clear               [28] _init_termcap       [637] _strcat            
  1016.  [660] _clear_eol          [659] _ioctl              [668] _strchr            
  1017.  [662] _clear_message      [630] _itoa               [627] _strcpy            
  1018.  [643] _ctime               [19] _itoa7              [629] _strecpy           
  1019.  [674] _digits              [12] _line_update        [663] _string_count      
  1020.  [675] _display_header     [626] _lseek              [633] _strlen            
  1021.  [676] _display_init         [8] _machine_init       [669] _strncpy           
  1022.  [677] _display_resize       [2] _main               [695] _strrchr           
  1023.  [678] _end_screen         [658] _malloc             [642] _summary_format    
  1024.  [664] _enter_user         [654] _memcmp             [623] _task_by_unix_pid  
  1025.  [641] _fflush             [686] _memmove             [14] _task_info         
  1026.  [679] _format_header       [25] _memset              [24] _task_resume       
  1027.  [632] _format_k          (2459) _moncount            [15] _task_stats        
  1028.   [17] _format_next_proces  [20] _monsetup            [16] _task_threads      
  1029.  [635] _format_time         [21] _msg_rpc              [7] _thread_info       
  1030.  [639] _fputc               [22] _msg_rpc_trap         [5] _thread_stats      
  1031.  [640] _fputs              [687] _new_message        [651] _time              
  1032.    [3] _get_process_info     [9] _nlist               [32] _u_cpustates       
  1033.  [680] _get_screensize     [667] _open               [652] _u_endscreen       
  1034.  [644] _get_system_info    [648] _percentages        [655] _u_header          
  1035.  [665] _get_user           [636] _printable           [33] _u_loadave         
  1036.   [27] _getenv              [26] _printf              [30] _u_memory          
  1037.  [625] _getkval             [11] _proc_compare       [656] _u_message         
  1038.  [681] _getopt             [622] _putstdout           [13] _u_process         
  1039.  [682] _getpagesize        [649] _qsort              [657] _u_procstates      
  1040.  [666] _getpwuid            [23] _qst                [638] _username          
  1041.   [18] _getu               [688] _quit               [628] _vm_deallocate     
  1042.  [645] _host_info          [624] _read               [653] _vm_statistics     
  1043.  [646] _host_self          [689] _readline            [36] _z_cpustates       
  1044.  [683] _i_header           [650] _select               [6] rcopy              
  1045.   [35] _i_loadave          [690] _setbuffer         
  1046.