Re: [Chicken-users] profile data: calls too high
On Wed, Sep 12, 2012 at 09:12:55PM -0400, Claude Marinier wrote: Hi, Hi Claude, I am new to profiling. I am surprized by the high count of the first function in the table: make-date. When I grep for make-date, it confirms that it appears in only one file. I have attached this file. From this, I expect make-date to be called as often as time-stamp and make-time which are called three times. Which version of Chicken is this? IIRC, 4.7.0 is known to produce bogus profiles. Cheers, Peter -- http://sjamaan.ath.cx -- The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music. -- Donald Knuth ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] profile data: calls too high
On Thu, Sep 13, 2012 at 3:30 AM, Peter Bex peter@xs4all.nl wrote: On Wed, Sep 12, 2012 at 09:12:55PM -0400, Claude Marinier wrote: Hi, Hi Claude, I am new to profiling. I am surprized by the high count of the first function in the table: make-date. When I grep for make-date, it confirms that it appears in only one file. I have attached this file. From this, I expect make-date to be called as often as time-stamp and make-time which are called three times. Which version of Chicken is this? IIRC, 4.7.0 is known to produce bogus profiles. I am using 4.7 (possibly 4.7.0.6). Do I need to wait for 4.8 or should I try 4.7.x ? -- Claude ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] profile data: calls too high
Hi, I am new to profiling. I am surprized by the high count of the first function in the table: make-date. When I grep for make-date, it confirms that it appears in only one file. I have attached this file. From this, I expect make-date to be called as often as time-stamp and make-time which are called three times. What am I missing? Thanks. procedure calls seconds average percent --- make-date2846.7800.023 25.347 process-lines 481746.7750.000 25.332 parse 481736.5480.000 24.480 update-IPv4-counters 481653.9440.000 14.745 update-IP-record 481651.8560.0006.938 update-TCP-UDP-counters481650.2240.0000.837 sc-minus-one 1648660.1600.0000.598 sc-plus-one 1418200.1440.0000.538 pick-port 481650.0760.0000.284 sc-zero962920.0640.0000.239 update-in-counters 300210.0600.0000.224 get-TCP-counters 479520.0400.0000.149 set-TCP-counters 479330.0280.0000.104 update-out-counters181440.0240.0000.089 process-options20.0080.0040.029 dump-in-out-counters 1160.0040.0000.014 dump-TCP-UDP-ports380.0040.0000.014 dump-IP-protocols 190.0040.0000.014 dump-data 10.0040.0040.014 write-with-indent2640.0000.0000.000 get-UDP-counters 2510.0000.0000.000 set-UDP-counters 2320.0000.0000.000 num-out-bytes2110.0000.0000.000 num-in-packets 1370.0000.0000.000 num-in-bytes 1160.0000.0000.000 num-out-packets 210.0000.0000.000 make-IP-record190.0000.0000.000 get-ICMP-counters 190.0000.0000.000 get-ICMP6-counters190.0000.0000.000 get-route-counters190.0000.0000.000 get-other-counters190.0000.0000.000 get-wrong-counters190.0000.0000.000 add-bytes 80.0000.0000.000 inc-packets80.0000.0000.000 time-stamp 30.0000.0000.000 make-time 30.0000.0000.000 num-packets30.0000.0000.000 init-port-table20.0000.0000.000 log-this 20.0000.0000.000 dump-counters 20.0000.0000.000 num-bytes 20.0000.0000.000 address-OK?20.0000.0000.000 check-IP-address 20.0000.0000.000 main 10.0000.0000.000 setup-term-handler 10.0000.0000.000 IPv4-dec-hex 10.0000.0000.000 make-date-long 10.0000.0000.000 time-stamp-long10.0000.0000.000 make-dump-file-name10.0000.0000.000 make-time-long 10.0000.0000.000 process-header-line10.0000.0000.000 term-handler 00.0000.0000.000 alarm-handler 00.0000.0000.000 setup-alarm-handler00.0000.0000.000 pad-right 00.0000.0000.000 pad-left 00.0000.0000.000 bad-header 00.0000.0000.000 bad-option-missing-value 00.0000.0000.000 set-ICMP-counters 00.0000.0000.000 set-ICMP6-counters 00.0000.0000.000 set-route-counters 00.0000.0000.000 set-other-counters 00.0000.0000.000 set-wrong-counters 00.0000.0000.000 update-IPv6-counters 00.0000.0000.000 set-repeating-alarm! 00.0000.0000.000 no-file00.0000.0000.000 init-IP-protocol-table 00.0000.0000.000 tokens-string 00.0000.0000.000 bad-address00.0000.0000.000 usage 00.0000.0000.000 bad-option-1-letter00.0000.0000.000 missing-routing-prefix 00.0000.0000.000 bad-routing-prefix 00.0000.0000.000 bad-option-unknown 00.0000.0000.000 time-stamp.scm Description: Binary data ___