[Xastir] Re: xastir and cpu

Curt, WE7U archer at eskimo.com
Wed Sep 8 11:46:37 EDT 2004


Some hints, from running gprof on the output file created after
compiling Xastir with the "-pg" compiler flag:


Flat profile:

Each sample counts as 0.01 seconds.
 %  cumulative self           self  total
time  seconds seconds  calls s/call s/call name
32.10    2.43   2.43 2079535  0.00   0.00 awk_eval_expr
22.72    4.15   1.72 5467358  0.00   0.00 awk_find_sym
12.02    5.06   0.91  289120  0.00   0.00 awk_exec_program
 6.61    5.56   0.50  423824  0.00   0.00 awk_exec_action
 4.62    5.91   0.35  134682  0.00   0.00 dbfawk_parse_record
 3.83    6.20   0.29      69  0.00   0.00 index_retrieve
 2.64    6.40   0.20  443434  0.00   0.00 awk_get_sym
 2.51    6.59   0.19       1  0.19   6.95 UpdateTime
 1.32    6.69   0.10     296  0.00   0.00 insert_symbol
 1.06    6.77   0.08      69  0.00   0.09 draw_shapefile_map
 0.92    6.84   0.07    1538  0.00   0.00 alert_match
 0.92    6.91   0.07       1  0.07   0.07 load_language_file
 0.66    6.96   0.05  134682  0.00   0.00 awk_exec_begin_record
 0.66    7.01   0.05     923  0.00   0.00 data_add
 0.53    7.05   0.04   53071  0.00   0.00 normal_title
 0.53    7.09   0.04   26228  0.00   0.00 begin_critical_section
 0.40    7.12   0.03    2550  0.00   0.00 symbol


That was a very short run of Xastir.  I'll try a longer run to see
what changes.

--
Curt, WE7U			         http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list