-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_pre_optimization.txt
More file actions
989 lines (949 loc) · 62 KB
/
analysis_pre_optimization.txt
File metadata and controls
989 lines (949 loc) · 62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
40.26 7.81 7.81 1771990 0.00 0.00 get_format_vector
15.62 10.84 3.03 3953463 0.00 0.00 is_valid_ptr
9.23 12.63 1.79 22906112 0.00 0.00 is_ptr_to_page
9.02 14.38 1.75 9287 0.00 0.00 reset_all_been_visited
4.95 15.34 0.96 6284620 0.00 0.00 get_data_id
3.81 16.08 0.74 4918747 0.00 0.00 is_format_vector
2.78 16.62 0.54 11213078 0.00 0.00 is_little_end
2.78 17.16 0.54 110849 0.00 0.00 get_size_struct
2.22 17.59 0.43 2727627 0.00 0.00 reset_been_visited
1.75 17.93 0.34 9287 0.00 0.00 do_move
1.19 18.16 0.23 1942753 0.00 0.00 is_been_visited
0.98 18.35 0.19 3324907 0.00 0.00 get_bit_alloc_map
0.82 18.51 0.16 2365 0.00 0.00 make_passive
0.77 18.66 0.15 542640 0.00 0.00 has_room
0.77 18.81 0.15 252978 0.00 0.00 is_movable
0.72 18.95 0.14 1310570 0.00 0.00 is_data_size
0.62 19.07 0.12 157501 0.00 0.00 get_moveto_page
0.26 19.12 0.05 772853 0.00 0.00 is_active
0.21 19.16 0.04 115360 0.00 0.00 page_alloc_struct
0.15 19.19 0.03 640297 0.00 0.00 avail_space_page
0.15 19.22 0.03 157501 0.00 0.00 move_data_block
0.15 19.25 0.03 157501 0.00 0.00 set_forward_address
0.15 19.28 0.03 115360 0.00 0.00 set_format_vector
0.10 19.30 0.02 162601 0.00 0.00 alloc_mem_block
0.10 19.32 0.02 47241 0.00 0.00 set_data_size
0.10 19.34 0.02 467 0.00 0.00 stack_addresses
0.05 19.35 0.01 162601 0.00 0.00 set_bit_alloc_map
0.05 19.36 0.01 95477 0.00 0.00 set_been_visited
0.05 19.37 0.01 47241 0.00 0.00 page_alloc_data
0.05 19.38 0.01 46652 0.00 0.00 get_data_size
0.05 19.39 0.01 6034 0.00 0.00 used_space
0.05 19.40 0.01 4511 0.00 0.00 h_alloc_struct_internal
0.00 19.40 0.00 162601 0.00 0.00 alloc_metadata
0.00 19.40 0.00 55303 0.00 0.00 get_forward_address
0.00 19.40 0.00 55303 0.00 0.00 is_forward_address
0.00 19.40 0.00 47481 0.00 0.00 used_space_page
0.00 19.40 0.00 15889 0.00 0.00 string_compare_function
0.00 19.40 0.00 9022 0.00 0.00 get_size_and_format_vector
0.00 19.40 0.00 8652 0.00 0.00 string_lt
0.00 19.40 0.00 6754 0.00 0.00 get_sentinel_bucket
0.00 19.40 0.00 5100 0.00 0.00 get_alloc_page
0.00 19.40 0.00 4511 0.00 0.00 calc_buf_length
0.00 19.40 0.00 4511 0.00 0.00 get_size_of_struct
0.00 19.40 0.00 4511 0.00 0.00 h_alloc_struct
0.00 19.40 0.00 4511 0.00 0.00 handle_input
0.00 19.40 0.00 4020 0.00 0.00 find_previous_entry_for_key
0.00 19.40 0.00 4020 0.00 0.00 get_sentinel
0.00 19.40 0.00 4020 0.00 0.00 string_sum_hash
0.00 19.40 0.00 3939 0.00 0.00 create_link
0.00 19.40 0.00 3939 0.00 0.00 ioopm_linked_list_append
0.00 19.40 0.00 3873 0.00 0.00 ioopm_hash_table_lookup
0.00 19.40 0.00 3822 0.00 0.00 ioopm_iterator_current
0.00 19.40 0.00 3822 0.00 0.00 ioopm_iterator_has_next
0.00 19.40 0.00 3723 0.00 0.00 ioopm_iterator_next
0.00 19.40 0.00 2373 0.00 0.00 make_active
0.00 19.40 0.00 946 0.00 0.00 read_string
0.00 19.40 0.00 934 0.00 0.00 h_used
0.00 19.40 0.00 888 0.00 0.00 ask_question
0.00 19.40 0.00 589 0.00 0.01 h_alloc_data
0.00 19.40 0.00 589 0.00 0.00 h_alloc_data_internal
0.00 19.40 0.00 538 0.00 0.01 str_to_str
0.00 19.40 0.00 511 0.00 0.00 is_menu_choice_list
0.00 19.40 0.00 467 0.00 0.00 get_active_pages
0.00 19.40 0.00 467 0.00 0.00 get_passive_pages
0.00 19.40 0.00 467 0.00 0.00 get_valid_ptrs
0.00 19.40 0.00 467 0.00 0.04 h_gc
0.00 19.40 0.00 467 0.00 0.00 heap_has_room
0.00 19.40 0.00 467 0.00 0.04 move
0.00 19.40 0.00 355 0.00 0.00 ioopm_hash_table_has_key
0.00 19.40 0.00 350 0.00 0.00 str_to_int
0.00 19.40 0.00 289 0.00 0.00 ask_question_string
0.00 19.40 0.00 289 0.00 0.00 not_empty
0.00 19.40 0.00 289 0.00 0.00 not_empty_
0.00 19.40 0.00 252 0.00 0.00 is_number
0.00 19.40 0.00 201 0.00 0.00 ioopm_linked_list_create
0.00 19.40 0.00 199 0.00 0.00 ioopm_ask_menu
0.00 19.40 0.00 199 0.00 0.00 ioopm_linked_list_any
0.00 19.40 0.00 199 0.00 0.00 is_menu_choice
0.00 19.40 0.00 189 0.00 0.00 ioopm_ask_question_string
0.00 19.40 0.00 157 0.00 0.00 is_existing_inv_merch
0.00 19.40 0.00 150 0.00 0.00 ask_question_u_int
0.00 19.40 0.00 150 0.00 0.00 is_pos_number
0.00 19.40 0.00 150 0.00 0.00 is_pos_number_
0.00 19.40 0.00 100 0.00 0.00 ioopm_list_iterator
0.00 19.40 0.00 99 0.00 0.02 TUI_inventory_add_merch
0.00 19.40 0.00 99 0.00 0.15 TUI_inventory_list_merch
0.00 19.40 0.00 99 0.00 0.01 create_merchandise
0.00 19.40 0.00 99 0.00 0.00 entry_create
0.00 19.40 0.00 99 0.00 0.00 ioopm_ask_existing_inventory_merch
0.00 19.40 0.00 99 0.00 0.01 ioopm_ask_new_inventory_merch
0.00 19.40 0.00 99 0.00 0.00 ioopm_hash_table_insert
0.00 19.40 0.00 99 0.00 0.14 ioopm_hash_table_keys
0.00 19.40 0.00 99 0.00 0.01 ioopm_inventory_add_merchandise
0.00 19.40 0.00 99 0.00 0.14 ioopm_inventory_get_merchandise_list
0.00 19.40 0.00 99 0.00 0.00 ioopm_linked_list_is_empty
0.00 19.40 0.00 99 0.00 0.00 is_new_inv_merch
0.00 19.40 0.00 52 0.00 0.00 ioopm_linked_list_save_to_file
0.00 19.40 0.00 51 0.00 0.18 TUI_inventory_replenish_stock
0.00 19.40 0.00 51 0.00 0.00 ioopm_ask_new_shelf
0.00 19.40 0.00 51 0.00 0.00 ioopm_ask_question_u_int
0.00 19.40 0.00 51 0.00 0.00 ioopm_hash_table_is_empty
0.00 19.40 0.00 51 0.00 0.02 ioopm_inventory_replenish_new_shelf_stock
0.00 19.40 0.00 51 0.00 0.00 ioopm_linked_list_contains
0.00 19.40 0.00 51 0.00 0.00 is_new_shelf
0.00 19.40 0.00 51 0.00 0.00 save_merch_to_file
0.00 19.40 0.00 51 0.00 0.00 save_storage_locs_to_file
0.00 19.40 0.00 48 0.00 0.15 TUI_inventory_remove_merch
0.00 19.40 0.00 48 0.00 0.00 ioopm_hash_table_remove
0.00 19.40 0.00 48 0.00 0.00 ioopm_inventory_remove_merchandise
0.00 19.40 0.00 32 0.00 0.00 page_delete
0.00 19.40 0.00 32 0.00 0.00 page_init
0.00 19.40 0.00 1 0.00 0.00 ask_question_int
0.00 19.40 0.00 1 0.00 0.00 destroy_carts
0.00 19.40 0.00 1 0.00 19.31 event_loop
0.00 19.40 0.00 1 0.00 0.00 get_password
0.00 19.40 0.00 1 0.00 0.00 h_delete
0.00 19.40 0.00 1 0.00 0.00 h_delete_internal
0.00 19.40 0.00 1 0.00 0.00 h_init
0.00 19.40 0.00 1 0.00 0.00 h_init_internal
0.00 19.40 0.00 1 0.00 0.01 ioopm_ask_admin_access
0.00 19.40 0.00 1 0.00 0.08 ioopm_hash_table_create_spec
0.00 19.40 0.00 1 0.00 0.00 ioopm_hash_table_save_to_file
0.00 19.40 0.00 1 0.00 0.08 ioopm_inventory_create
0.00 19.40 0.00 1 0.00 0.08 ioopm_inventory_load
0.00 19.40 0.00 1 0.00 0.00 ioopm_inventory_save
0.00 19.40 0.00 1 0.00 0.00 ioopm_linked_list_size
0.00 19.40 0.00 1 0.00 0.00 is_number_
0.00 19.40 0.00 1 0.00 0.07 set_NO_buckets
% the percentage of the total running time of the
time program used by this function.
cumulative a running sum of the number of seconds accounted
seconds for by this function and those listed above it.
self the number of seconds accounted for by this
seconds function alone. This is the major sort for this
listing.
calls the number of times this function was invoked, if
this function is profiled, else blank.
self the average number of milliseconds spent in this
ms/call function per call, if this function is profiled,
else blank.
total the average number of milliseconds spent in this
ms/call function and its descendents per call, if this
function is profiled, else blank.
name the name of the function. This is the minor sort
for this listing. The index shows the location of
the function in the gprof listing. If the index is
in parenthesis it shows where it would appear in
the gprof listing if it were to be printed.
Copyright (C) 2012-2022 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Call graph (explanation follows)
granularity: each sample hit covers 4 byte(s) for 0.05% of 19.40 seconds
index % time self children called name
<spontaneous>
[1] 100.0 0.00 19.40 main [1]
0.00 19.31 1/1 event_loop [4]
0.00 0.08 1/1 ioopm_inventory_load [51]
0.00 0.00 1/1 destroy_carts [72]
0.00 0.00 1/201 ioopm_linked_list_create [28]
0.00 0.00 1/1 h_init [124]
0.00 0.00 1/1 ioopm_inventory_save [127]
0.00 0.00 1/1 h_delete [122]
-----------------------------------------------
0.00 3.11 75/467 h_alloc_data [17]
0.00 16.24 392/467 h_alloc_struct [5]
[2] 99.7 0.00 19.35 467 h_gc [2]
0.00 19.31 467/467 move [3]
0.00 0.03 467/467 get_valid_ptrs [59]
0.00 0.00 934/934 h_used [73]
-----------------------------------------------
0.00 19.31 467/467 h_gc [2]
[3] 99.6 0.00 19.31 467 move [3]
1.75 14.08 9287/9287 reset_all_been_visited [6]
0.34 2.98 9287/9287 do_move [16]
0.16 0.00 2365/2365 make_passive [48]
0.00 0.00 54248/22906112 is_ptr_to_page [21]
0.00 0.00 467/467 get_passive_pages [77]
0.00 0.00 467/467 get_active_pages [76]
-----------------------------------------------
0.00 19.31 1/1 main [1]
[4] 99.5 0.00 19.31 1 event_loop [4]
0.00 9.18 51/51 TUI_inventory_replenish_stock [12]
0.00 7.41 48/48 TUI_inventory_remove_merch [14]
0.00 2.02 99/99 TUI_inventory_add_merch [20]
0.00 0.64 199/199 ioopm_ask_menu [30]
0.00 0.05 15/3939 ioopm_linked_list_append [9]
0.00 0.01 1/1 ioopm_ask_admin_access [71]
0.00 0.00 1/201 ioopm_linked_list_create [28]
-----------------------------------------------
0.00 0.00 1/4511 ioopm_hash_table_create_spec [52]
0.00 0.00 1/4511 ioopm_inventory_create [50]
0.00 0.07 20/4511 set_NO_buckets [54]
0.00 0.18 51/4511 ioopm_inventory_replenish_new_shelf_stock [27]
0.00 0.36 99/4511 entry_create [38]
0.00 0.36 99/4511 create_merchandise [29]
0.00 0.36 100/4511 ioopm_list_iterator [37]
0.00 0.73 201/4511 ioopm_linked_list_create [28]
0.00 14.22 3939/4511 create_link [8]
[5] 84.0 0.00 16.29 4511 h_alloc_struct [5]
0.00 16.24 392/467 h_gc [2]
0.01 0.02 4511/4511 h_alloc_struct_internal [62]
0.01 0.01 4511/6034 used_space [64]
0.00 0.00 4511/4511 handle_input [87]
0.00 0.00 4511/4511 get_size_of_struct [86]
0.00 0.00 392/467 heap_has_room [98]
-----------------------------------------------
2718340 reset_all_been_visited [6]
1.75 14.08 9287/9287 move [3]
[6] 81.6 1.75 14.08 9287+2718340 reset_all_been_visited [6]
7.01 0.56 1591009/1771990 get_format_vector [13]
2.69 1.68 3513318/3953463 is_valid_ptr [15]
0.41 0.55 2727627/4918747 is_format_vector [22]
0.43 0.13 2727627/2727627 reset_been_visited [33]
0.12 0.23 1136618/1310570 is_data_size [36]
0.19 0.08 1591009/1942753 is_been_visited [40]
2718340 reset_all_been_visited [6]
-----------------------------------------------
0.00 7.25 48/99 TUI_inventory_remove_merch [14]
0.00 7.70 51/99 TUI_inventory_replenish_stock [12]
[7] 77.1 0.00 14.96 99 TUI_inventory_list_merch [7]
0.00 14.16 99/99 ioopm_inventory_get_merchandise_list [11]
0.00 0.44 138/189 ioopm_ask_question_string [31]
0.00 0.36 99/100 ioopm_list_iterator [37]
0.00 0.00 3822/3822 ioopm_iterator_current [92]
0.00 0.00 3822/3873 ioopm_hash_table_lookup [91]
0.00 0.00 3822/3822 ioopm_iterator_has_next [93]
0.00 0.00 3723/3723 ioopm_iterator_next [94]
0.00 0.00 99/99 ioopm_linked_list_is_empty [109]
-----------------------------------------------
0.00 14.22 3939/3939 ioopm_linked_list_append [9]
[8] 73.3 0.00 14.22 3939 create_link [8]
0.00 14.22 3939/4511 h_alloc_struct [5]
-----------------------------------------------
0.00 0.05 15/3939 event_loop [4]
0.00 0.37 102/3939 ioopm_inventory_replenish_new_shelf_stock [27]
0.00 13.80 3822/3939 ioopm_hash_table_keys [10]
[9] 73.3 0.00 14.22 3939 ioopm_linked_list_append [9]
0.00 14.22 3939/3939 create_link [8]
-----------------------------------------------
0.00 14.16 99/99 ioopm_inventory_get_merchandise_list [11]
[10] 73.0 0.00 14.16 99 ioopm_hash_table_keys [10]
0.00 13.80 3822/3939 ioopm_linked_list_append [9]
0.00 0.36 99/201 ioopm_linked_list_create [28]
0.00 0.00 1881/6754 get_sentinel_bucket [84]
-----------------------------------------------
0.00 14.16 99/99 TUI_inventory_list_merch [7]
[11] 73.0 0.00 14.16 99 ioopm_inventory_get_merchandise_list [11]
0.00 14.16 99/99 ioopm_hash_table_keys [10]
-----------------------------------------------
0.00 9.18 51/51 event_loop [4]
[12] 47.3 0.00 9.18 51 TUI_inventory_replenish_stock [12]
0.00 7.70 51/99 TUI_inventory_list_merch [7]
0.00 0.82 51/51 ioopm_inventory_replenish_new_shelf_stock [27]
0.00 0.16 51/51 ioopm_ask_new_shelf [46]
0.00 0.16 51/99 ioopm_ask_existing_inventory_merch [41]
0.00 0.16 51/189 ioopm_ask_question_string [31]
0.00 0.16 51/51 ioopm_ask_question_u_int [47]
0.00 0.00 51/51 ioopm_hash_table_is_empty [112]
-----------------------------------------------
0.80 0.06 180981/1771990 do_move [16]
7.01 0.56 1591009/1771990 reset_all_been_visited [6]
[13] 43.5 7.81 0.62 1771990 get_format_vector [13]
0.27 0.36 1771990/4918747 is_format_vector [22]
-----------------------------------------------
0.00 7.41 48/48 event_loop [4]
[14] 38.2 0.00 7.41 48 TUI_inventory_remove_merch [14]
0.00 7.25 48/99 TUI_inventory_list_merch [7]
0.00 0.15 48/99 ioopm_ask_existing_inventory_merch [41]
0.00 0.00 48/48 ioopm_inventory_remove_merchandise [118]
-----------------------------------------------
0.01 0.00 9287/3953463 get_valid_ptrs [59]
0.33 0.21 430858/3953463 do_move [16]
2.69 1.68 3513318/3953463 reset_all_been_visited [6]
[15] 25.4 3.03 1.89 3953463 is_valid_ptr [15]
1.71 0.18 21863026/22906112 is_ptr_to_page [21]
-----------------------------------------------
342457 do_move [16]
0.34 2.98 9287/9287 move [3]
[16] 17.1 0.34 2.98 9287+342457 do_move [16]
0.80 0.06 180981/1771990 get_format_vector [13]
0.54 0.04 110849/110849 get_size_struct [32]
0.33 0.21 430858/3953463 is_valid_ptr [15]
0.12 0.19 157501/157501 get_moveto_page [42]
0.15 0.07 252978/252978 is_movable [43]
0.05 0.06 308281/4918747 is_format_vector [22]
0.04 0.06 110849/115360 page_alloc_struct [49]
0.03 0.04 157501/157501 move_data_block [53]
0.04 0.02 351744/1942753 is_been_visited [40]
0.01 0.03 46652/47241 page_alloc_data [56]
0.01 0.03 127300/1310570 is_data_size [36]
0.01 0.01 46652/46652 get_data_size [63]
0.01 0.00 95477/95477 set_been_visited [68]
0.00 0.01 55303/55303 is_forward_address [69]
0.00 0.00 55303/55303 get_forward_address [79]
342457 do_move [16]
-----------------------------------------------
0.00 0.27 51/589 ioopm_inventory_replenish_new_shelf_stock [27]
0.00 2.84 538/589 str_to_str [19]
[17] 16.0 0.00 3.11 589 h_alloc_data [17]
0.00 3.11 75/467 h_gc [2]
0.00 0.00 589/589 h_alloc_data_internal [75]
0.00 0.00 589/6034 used_space [64]
0.00 0.00 75/467 heap_has_room [98]
-----------------------------------------------
0.00 0.00 1/888 ask_question_int [74]
0.00 0.16 51/888 ioopm_ask_new_shelf [46]
0.00 0.32 99/888 ioopm_ask_new_inventory_merch [25]
0.00 0.32 99/888 ioopm_ask_existing_inventory_merch [41]
0.00 0.48 150/888 ask_question_u_int [35]
0.00 0.64 199/888 ioopm_ask_menu [30]
0.00 0.93 289/888 ask_question_string [26]
[18] 14.7 0.00 2.84 888 ask_question [18]
0.00 2.84 538/538 str_to_str [19]
0.00 0.00 946/946 read_string [96]
0.00 0.00 350/350 str_to_int [100]
0.00 0.00 289/289 not_empty_ [102]
0.00 0.00 199/199 is_menu_choice [105]
0.00 0.00 157/157 is_existing_inv_merch [106]
0.00 0.00 150/150 is_pos_number_ [108]
0.00 0.00 99/99 is_new_inv_merch [110]
0.00 0.00 51/51 is_new_shelf [114]
0.00 0.00 1/1 is_number_ [129]
-----------------------------------------------
0.00 2.84 538/538 ask_question [18]
[19] 14.7 0.00 2.84 538 str_to_str [19]
0.00 2.84 538/589 h_alloc_data [17]
-----------------------------------------------
0.00 2.02 99/99 event_loop [4]
[20] 10.4 0.00 2.02 99 TUI_inventory_add_merch [20]
0.00 1.07 99/99 ioopm_inventory_add_merchandise [24]
0.00 0.95 99/99 ioopm_ask_new_inventory_merch [25]
0.00 0.00 99/355 ioopm_hash_table_has_key [99]
-----------------------------------------------
0.00 0.00 54248/22906112 move [3]
0.01 0.00 157501/22906112 move_data_block [53]
0.06 0.01 831337/22906112 is_movable [43]
1.71 0.18 21863026/22906112 is_valid_ptr [15]
[21] 10.2 1.79 0.19 22906112 is_ptr_to_page [21]
0.19 0.00 3324907/3324907 get_bit_alloc_map [45]
-----------------------------------------------
0.02 0.02 110849/4918747 get_size_struct [32]
0.05 0.06 308281/4918747 do_move [16]
0.27 0.36 1771990/4918747 get_format_vector [13]
0.41 0.55 2727627/4918747 reset_all_been_visited [6]
[22] 8.9 0.74 0.99 4918747 is_format_vector [22]
0.75 0.24 4918747/6284620 get_data_id [23]
-----------------------------------------------
0.01 0.00 55303/6284620 is_forward_address [69]
0.20 0.06 1310570/6284620 is_data_size [36]
0.75 0.24 4918747/6284620 is_format_vector [22]
[23] 6.5 0.96 0.30 6284620 get_data_id [23]
0.30 0.00 6284620/11213078 is_little_end [34]
-----------------------------------------------
0.00 1.07 99/99 TUI_inventory_add_merch [20]
[24] 5.5 0.00 1.07 99 ioopm_inventory_add_merchandise [24]
0.00 0.71 99/99 create_merchandise [29]
0.00 0.36 99/99 ioopm_hash_table_insert [39]
-----------------------------------------------
0.00 0.95 99/99 TUI_inventory_add_merch [20]
[25] 4.9 0.00 0.95 99 ioopm_ask_new_inventory_merch [25]
0.00 0.32 99/888 ask_question [18]
0.00 0.32 99/289 ask_question_string [26]
0.00 0.32 99/150 ask_question_u_int [35]
-----------------------------------------------
0.00 0.00 1/289 ioopm_ask_admin_access [71]
0.00 0.32 99/289 ioopm_ask_new_inventory_merch [25]
0.00 0.61 189/289 ioopm_ask_question_string [31]
[26] 4.8 0.00 0.93 289 ask_question_string [26]
0.00 0.93 289/888 ask_question [18]
-----------------------------------------------
0.00 0.82 51/51 TUI_inventory_replenish_stock [12]
[27] 4.2 0.00 0.82 51 ioopm_inventory_replenish_new_shelf_stock [27]
0.00 0.37 102/3939 ioopm_linked_list_append [9]
0.00 0.27 51/589 h_alloc_data [17]
0.00 0.18 51/4511 h_alloc_struct [5]
0.00 0.00 51/3873 ioopm_hash_table_lookup [91]
-----------------------------------------------
0.00 0.00 1/201 event_loop [4]
0.00 0.00 1/201 main [1]
0.00 0.00 1/201 ioopm_inventory_create [50]
0.00 0.36 99/201 ioopm_hash_table_keys [10]
0.00 0.36 99/201 create_merchandise [29]
[28] 3.7 0.00 0.73 201 ioopm_linked_list_create [28]
0.00 0.73 201/4511 h_alloc_struct [5]
-----------------------------------------------
0.00 0.71 99/99 ioopm_inventory_add_merchandise [24]
[29] 3.7 0.00 0.71 99 create_merchandise [29]
0.00 0.36 99/4511 h_alloc_struct [5]
0.00 0.36 99/201 ioopm_linked_list_create [28]
-----------------------------------------------
0.00 0.64 199/199 event_loop [4]
[30] 3.3 0.00 0.64 199 ioopm_ask_menu [30]
0.00 0.64 199/888 ask_question [18]
-----------------------------------------------
0.00 0.16 51/189 TUI_inventory_replenish_stock [12]
0.00 0.44 138/189 TUI_inventory_list_merch [7]
[31] 3.1 0.00 0.61 189 ioopm_ask_question_string [31]
0.00 0.61 189/289 ask_question_string [26]
-----------------------------------------------
0.54 0.04 110849/110849 do_move [16]
[32] 3.0 0.54 0.04 110849 get_size_struct [32]
0.02 0.02 110849/4918747 is_format_vector [22]
-----------------------------------------------
0.43 0.13 2727627/2727627 reset_all_been_visited [6]
[33] 2.9 0.43 0.13 2727627 reset_been_visited [33]
0.13 0.00 2727627/11213078 is_little_end [34]
-----------------------------------------------
0.00 0.00 47241/11213078 set_data_size [65]
0.00 0.00 95477/11213078 set_been_visited [68]
0.01 0.00 115360/11213078 set_format_vector [58]
0.09 0.00 1942753/11213078 is_been_visited [40]
0.13 0.00 2727627/11213078 reset_been_visited [33]
0.30 0.00 6284620/11213078 get_data_id [23]
[34] 2.8 0.54 0.00 11213078 is_little_end [34]
-----------------------------------------------
0.00 0.16 51/150 ioopm_ask_question_u_int [47]
0.00 0.32 99/150 ioopm_ask_new_inventory_merch [25]
[35] 2.5 0.00 0.48 150 ask_question_u_int [35]
0.00 0.48 150/888 ask_question [18]
-----------------------------------------------
0.00 0.01 46652/1310570 get_data_size [63]
0.01 0.03 127300/1310570 do_move [16]
0.12 0.23 1136618/1310570 reset_all_been_visited [6]
[36] 2.1 0.14 0.26 1310570 is_data_size [36]
0.20 0.06 1310570/6284620 get_data_id [23]
-----------------------------------------------
0.00 0.00 1/100 destroy_carts [72]
0.00 0.36 99/100 TUI_inventory_list_merch [7]
[37] 1.9 0.00 0.36 100 ioopm_list_iterator [37]
0.00 0.36 100/4511 h_alloc_struct [5]
-----------------------------------------------
0.00 0.36 99/99 ioopm_hash_table_insert [39]
[38] 1.8 0.00 0.36 99 entry_create [38]
0.00 0.36 99/4511 h_alloc_struct [5]
-----------------------------------------------
0.00 0.36 99/99 ioopm_inventory_add_merchandise [24]
[39] 1.8 0.00 0.36 99 ioopm_hash_table_insert [39]
0.00 0.36 99/99 entry_create [38]
0.00 0.00 99/4020 get_sentinel [89]
0.00 0.00 99/4020 find_previous_entry_for_key [88]
-----------------------------------------------
0.04 0.02 351744/1942753 do_move [16]
0.19 0.08 1591009/1942753 reset_all_been_visited [6]
[40] 1.7 0.23 0.09 1942753 is_been_visited [40]
0.09 0.00 1942753/11213078 is_little_end [34]
-----------------------------------------------
0.00 0.15 48/99 TUI_inventory_remove_merch [14]
0.00 0.16 51/99 TUI_inventory_replenish_stock [12]
[41] 1.6 0.00 0.32 99 ioopm_ask_existing_inventory_merch [41]
0.00 0.32 99/888 ask_question [18]
-----------------------------------------------
0.12 0.19 157501/157501 do_move [16]
[42] 1.6 0.12 0.19 157501 get_moveto_page [42]
0.14 0.05 496049/542640 has_room [44]
0.00 0.00 6999/772853 is_active [55]
0.00 0.00 2294/2373 make_active [95]
-----------------------------------------------
0.15 0.07 252978/252978 do_move [16]
[43] 1.1 0.15 0.07 252978 is_movable [43]
0.06 0.01 831337/22906112 is_ptr_to_page [21]
-----------------------------------------------
0.01 0.00 46591/542640 get_alloc_page [67]
0.14 0.05 496049/542640 get_moveto_page [42]
[44] 1.1 0.15 0.06 542640 has_room [44]
0.04 0.00 542640/772853 is_active [55]
0.02 0.00 477696/640297 avail_space_page [60]
-----------------------------------------------
0.19 0.00 3324907/3324907 is_ptr_to_page [21]
[45] 1.0 0.19 0.00 3324907 get_bit_alloc_map [45]
-----------------------------------------------
0.00 0.16 51/51 TUI_inventory_replenish_stock [12]
[46] 0.8 0.00 0.16 51 ioopm_ask_new_shelf [46]
0.00 0.16 51/888 ask_question [18]
-----------------------------------------------
0.00 0.16 51/51 TUI_inventory_replenish_stock [12]
[47] 0.8 0.00 0.16 51 ioopm_ask_question_u_int [47]
0.00 0.16 51/150 ask_question_u_int [35]
-----------------------------------------------
0.16 0.00 2365/2365 move [3]
[48] 0.8 0.16 0.00 2365 make_passive [48]
-----------------------------------------------
0.00 0.00 4511/115360 h_alloc_struct_internal [62]
0.04 0.06 110849/115360 do_move [16]
[49] 0.5 0.04 0.06 115360 page_alloc_struct [49]
0.03 0.01 115360/115360 set_format_vector [58]
0.01 0.01 115360/162601 alloc_mem_block [57]
0.00 0.00 115360/162601 alloc_metadata [78]
-----------------------------------------------
0.00 0.08 1/1 ioopm_inventory_load [51]
[50] 0.4 0.00 0.08 1 ioopm_inventory_create [50]
0.00 0.08 1/1 ioopm_hash_table_create_spec [52]
0.00 0.00 1/4511 h_alloc_struct [5]
0.00 0.00 1/201 ioopm_linked_list_create [28]
0.00 0.00 1/1 get_password [121]
-----------------------------------------------
0.00 0.08 1/1 main [1]
[51] 0.4 0.00 0.08 1 ioopm_inventory_load [51]
0.00 0.08 1/1 ioopm_inventory_create [50]
-----------------------------------------------
0.00 0.08 1/1 ioopm_inventory_create [50]
[52] 0.4 0.00 0.08 1 ioopm_hash_table_create_spec [52]
0.00 0.07 1/1 set_NO_buckets [54]
0.00 0.00 1/4511 h_alloc_struct [5]
-----------------------------------------------
0.03 0.04 157501/157501 do_move [16]
[53] 0.4 0.03 0.04 157501 move_data_block [53]
0.03 0.00 157501/157501 set_forward_address [61]
0.01 0.00 157501/22906112 is_ptr_to_page [21]
-----------------------------------------------
0.00 0.07 1/1 ioopm_hash_table_create_spec [52]
[54] 0.4 0.00 0.07 1 set_NO_buckets [54]
0.00 0.07 20/4511 h_alloc_struct [5]
-----------------------------------------------
0.00 0.00 238/772853 get_alloc_page [67]
0.00 0.00 6999/772853 get_moveto_page [42]
0.00 0.00 14944/772853 get_active_pages [76]
0.00 0.00 14944/772853 get_passive_pages [77]
0.01 0.00 193088/772853 used_space [64]
0.04 0.00 542640/772853 has_room [44]
[55] 0.3 0.05 0.00 772853 is_active [55]
-----------------------------------------------
0.00 0.00 589/47241 h_alloc_data_internal [75]
0.01 0.03 46652/47241 do_move [16]
[56] 0.2 0.01 0.03 47241 page_alloc_data [56]
0.02 0.00 47241/47241 set_data_size [65]
0.01 0.01 47241/162601 alloc_mem_block [57]
0.00 0.00 47241/162601 alloc_metadata [78]
-----------------------------------------------
0.01 0.01 47241/162601 page_alloc_data [56]
0.01 0.01 115360/162601 page_alloc_struct [49]
[57] 0.2 0.02 0.02 162601 alloc_mem_block [57]
0.01 0.00 162601/162601 set_bit_alloc_map [70]
0.01 0.00 162601/640297 avail_space_page [60]
-----------------------------------------------
0.03 0.01 115360/115360 page_alloc_struct [49]
[58] 0.2 0.03 0.01 115360 set_format_vector [58]
0.01 0.00 115360/11213078 is_little_end [34]
-----------------------------------------------
0.00 0.03 467/467 h_gc [2]
[59] 0.2 0.00 0.03 467 get_valid_ptrs [59]
0.02 0.00 467/467 stack_addresses [66]
0.01 0.00 9287/3953463 is_valid_ptr [15]
-----------------------------------------------
0.01 0.00 162601/640297 alloc_mem_block [57]
0.02 0.00 477696/640297 has_room [44]
[60] 0.2 0.03 0.00 640297 avail_space_page [60]
-----------------------------------------------
0.03 0.00 157501/157501 move_data_block [53]
[61] 0.2 0.03 0.00 157501 set_forward_address [61]
-----------------------------------------------
0.01 0.02 4511/4511 h_alloc_struct [5]
[62] 0.2 0.01 0.02 4511 h_alloc_struct_internal [62]
0.00 0.02 4511/5100 get_alloc_page [67]
0.00 0.00 4511/115360 page_alloc_struct [49]
0.00 0.00 4511/9022 get_size_and_format_vector [82]
-----------------------------------------------
0.01 0.01 46652/46652 do_move [16]
[63] 0.1 0.01 0.01 46652 get_data_size [63]
0.00 0.01 46652/1310570 is_data_size [36]
-----------------------------------------------
0.00 0.00 589/6034 h_alloc_data [17]
0.00 0.00 934/6034 h_used [73]
0.01 0.01 4511/6034 h_alloc_struct [5]
[64] 0.1 0.01 0.01 6034 used_space [64]
0.01 0.00 193088/772853 is_active [55]
0.00 0.00 47481/47481 used_space_page [80]
-----------------------------------------------
0.02 0.00 47241/47241 page_alloc_data [56]
[65] 0.1 0.02 0.00 47241 set_data_size [65]
0.00 0.00 47241/11213078 is_little_end [34]
-----------------------------------------------
0.02 0.00 467/467 get_valid_ptrs [59]
[66] 0.1 0.02 0.00 467 stack_addresses [66]
-----------------------------------------------
0.00 0.00 589/5100 h_alloc_data_internal [75]
0.00 0.02 4511/5100 h_alloc_struct_internal [62]
[67] 0.1 0.00 0.02 5100 get_alloc_page [67]
0.01 0.00 46591/542640 has_room [44]
0.00 0.00 238/772853 is_active [55]
0.00 0.00 79/2373 make_active [95]
-----------------------------------------------
0.01 0.00 95477/95477 do_move [16]
[68] 0.1 0.01 0.00 95477 set_been_visited [68]
0.00 0.00 95477/11213078 is_little_end [34]
-----------------------------------------------
0.00 0.01 55303/55303 do_move [16]
[69] 0.1 0.00 0.01 55303 is_forward_address [69]
0.01 0.00 55303/6284620 get_data_id [23]
-----------------------------------------------
0.01 0.00 162601/162601 alloc_mem_block [57]
[70] 0.1 0.01 0.00 162601 set_bit_alloc_map [70]
-----------------------------------------------
0.00 0.01 1/1 event_loop [4]
[71] 0.0 0.00 0.01 1 ioopm_ask_admin_access [71]
0.00 0.00 1/289 ask_question_string [26]
0.00 0.00 1/1 ask_question_int [74]
-----------------------------------------------
0.00 0.00 1/1 main [1]
[72] 0.0 0.00 0.00 1 destroy_carts [72]
0.00 0.00 1/100 ioopm_list_iterator [37]
0.00 0.00 1/1 ioopm_linked_list_size [128]
-----------------------------------------------
0.00 0.00 934/934 h_gc [2]
[73] 0.0 0.00 0.00 934 h_used [73]
0.00 0.00 934/6034 used_space [64]
-----------------------------------------------
0.00 0.00 1/1 ioopm_ask_admin_access [71]
[74] 0.0 0.00 0.00 1 ask_question_int [74]
0.00 0.00 1/888 ask_question [18]
-----------------------------------------------
0.00 0.00 589/589 h_alloc_data [17]
[75] 0.0 0.00 0.00 589 h_alloc_data_internal [75]
0.00 0.00 589/5100 get_alloc_page [67]
0.00 0.00 589/47241 page_alloc_data [56]
-----------------------------------------------
0.00 0.00 467/467 move [3]
[76] 0.0 0.00 0.00 467 get_active_pages [76]
0.00 0.00 14944/772853 is_active [55]
-----------------------------------------------
0.00 0.00 467/467 move [3]
[77] 0.0 0.00 0.00 467 get_passive_pages [77]
0.00 0.00 14944/772853 is_active [55]
-----------------------------------------------
0.00 0.00 47241/162601 page_alloc_data [56]
0.00 0.00 115360/162601 page_alloc_struct [49]
[78] 0.0 0.00 0.00 162601 alloc_metadata [78]
-----------------------------------------------
0.00 0.00 55303/55303 do_move [16]
[79] 0.0 0.00 0.00 55303 get_forward_address [79]
-----------------------------------------------
0.00 0.00 47481/47481 used_space [64]
[80] 0.0 0.00 0.00 47481 used_space_page [80]
-----------------------------------------------
0.00 0.00 48/15889 ioopm_hash_table_remove [117]
0.00 0.00 1275/15889 ioopm_linked_list_contains [113]
0.00 0.00 3873/15889 ioopm_hash_table_lookup [91]
0.00 0.00 10693/15889 ioopm_hash_table_has_key [99]
[81] 0.0 0.00 0.00 15889 string_compare_function [81]
-----------------------------------------------
0.00 0.00 4511/9022 get_size_of_struct [86]
0.00 0.00 4511/9022 h_alloc_struct_internal [62]
[82] 0.0 0.00 0.00 9022 get_size_and_format_vector [82]
-----------------------------------------------
0.00 0.00 8652/8652 find_previous_entry_for_key [88]
[83] 0.0 0.00 0.00 8652 string_lt [83]
-----------------------------------------------
0.00 0.00 1881/6754 ioopm_hash_table_keys [10]
0.00 0.00 4873/6754 ioopm_hash_table_has_key [99]
[84] 0.0 0.00 0.00 6754 get_sentinel_bucket [84]
-----------------------------------------------
0.00 0.00 4511/4511 handle_input [87]
[85] 0.0 0.00 0.00 4511 calc_buf_length [85]
-----------------------------------------------
0.00 0.00 4511/4511 h_alloc_struct [5]
[86] 0.0 0.00 0.00 4511 get_size_of_struct [86]
0.00 0.00 4511/9022 get_size_and_format_vector [82]
-----------------------------------------------
0.00 0.00 4511/4511 h_alloc_struct [5]
[87] 0.0 0.00 0.00 4511 handle_input [87]
0.00 0.00 4511/4511 calc_buf_length [85]
-----------------------------------------------
0.00 0.00 48/4020 ioopm_hash_table_remove [117]
0.00 0.00 99/4020 ioopm_hash_table_insert [39]
0.00 0.00 3873/4020 ioopm_hash_table_lookup [91]
[88] 0.0 0.00 0.00 4020 find_previous_entry_for_key [88]
0.00 0.00 8652/8652 string_lt [83]
-----------------------------------------------
0.00 0.00 48/4020 ioopm_hash_table_remove [117]
0.00 0.00 99/4020 ioopm_hash_table_insert [39]
0.00 0.00 3873/4020 ioopm_hash_table_lookup [91]
[89] 0.0 0.00 0.00 4020 get_sentinel [89]
0.00 0.00 4020/4020 string_sum_hash [90]
-----------------------------------------------
0.00 0.00 4020/4020 get_sentinel [89]
[90] 0.0 0.00 0.00 4020 string_sum_hash [90]
-----------------------------------------------
0.00 0.00 51/3873 ioopm_inventory_replenish_new_shelf_stock [27]
0.00 0.00 3822/3873 TUI_inventory_list_merch [7]
[91] 0.0 0.00 0.00 3873 ioopm_hash_table_lookup [91]
0.00 0.00 3873/4020 get_sentinel [89]
0.00 0.00 3873/4020 find_previous_entry_for_key [88]
0.00 0.00 3873/15889 string_compare_function [81]
-----------------------------------------------
0.00 0.00 3822/3822 TUI_inventory_list_merch [7]
[92] 0.0 0.00 0.00 3822 ioopm_iterator_current [92]
-----------------------------------------------
0.00 0.00 3822/3822 TUI_inventory_list_merch [7]
[93] 0.0 0.00 0.00 3822 ioopm_iterator_has_next [93]
-----------------------------------------------
0.00 0.00 3723/3723 TUI_inventory_list_merch [7]
[94] 0.0 0.00 0.00 3723 ioopm_iterator_next [94]
-----------------------------------------------
0.00 0.00 79/2373 get_alloc_page [67]
0.00 0.00 2294/2373 get_moveto_page [42]
[95] 0.0 0.00 0.00 2373 make_active [95]
-----------------------------------------------
0.00 0.00 946/946 ask_question [18]
[96] 0.0 0.00 0.00 946 read_string [96]
-----------------------------------------------
0.00 0.00 511/511 ioopm_linked_list_any [104]
[97] 0.0 0.00 0.00 511 is_menu_choice_list [97]
-----------------------------------------------
0.00 0.00 75/467 h_alloc_data [17]
0.00 0.00 392/467 h_alloc_struct [5]
[98] 0.0 0.00 0.00 467 heap_has_room [98]
-----------------------------------------------
0.00 0.00 99/355 TUI_inventory_add_merch [20]
0.00 0.00 99/355 is_new_inv_merch [110]
0.00 0.00 157/355 is_existing_inv_merch [106]
[99] 0.0 0.00 0.00 355 ioopm_hash_table_has_key [99]
0.00 0.00 10693/15889 string_compare_function [81]
0.00 0.00 4873/6754 get_sentinel_bucket [84]
-----------------------------------------------
0.00 0.00 350/350 ask_question [18]
[100] 0.0 0.00 0.00 350 str_to_int [100]
-----------------------------------------------
0.00 0.00 289/289 not_empty_ [102]
[101] 0.0 0.00 0.00 289 not_empty [101]
-----------------------------------------------
0.00 0.00 289/289 ask_question [18]
[102] 0.0 0.00 0.00 289 not_empty_ [102]
0.00 0.00 289/289 not_empty [101]
-----------------------------------------------
0.00 0.00 1/252 get_password [121]
0.00 0.00 1/252 is_number_ [129]
0.00 0.00 51/252 is_new_shelf [114]
0.00 0.00 199/252 is_menu_choice [105]
[103] 0.0 0.00 0.00 252 is_number [103]
-----------------------------------------------
0.00 0.00 199/199 is_menu_choice [105]
[104] 0.0 0.00 0.00 199 ioopm_linked_list_any [104]
0.00 0.00 511/511 is_menu_choice_list [97]
-----------------------------------------------
0.00 0.00 199/199 ask_question [18]
[105] 0.0 0.00 0.00 199 is_menu_choice [105]
0.00 0.00 199/252 is_number [103]
0.00 0.00 199/199 ioopm_linked_list_any [104]
-----------------------------------------------
0.00 0.00 157/157 ask_question [18]
[106] 0.0 0.00 0.00 157 is_existing_inv_merch [106]
0.00 0.00 157/355 ioopm_hash_table_has_key [99]
-----------------------------------------------
0.00 0.00 150/150 is_pos_number_ [108]
[107] 0.0 0.00 0.00 150 is_pos_number [107]
-----------------------------------------------
0.00 0.00 150/150 ask_question [18]
[108] 0.0 0.00 0.00 150 is_pos_number_ [108]
0.00 0.00 150/150 is_pos_number [107]
-----------------------------------------------
0.00 0.00 99/99 TUI_inventory_list_merch [7]
[109] 0.0 0.00 0.00 99 ioopm_linked_list_is_empty [109]
-----------------------------------------------
0.00 0.00 99/99 ask_question [18]
[110] 0.0 0.00 0.00 99 is_new_inv_merch [110]
0.00 0.00 99/355 ioopm_hash_table_has_key [99]
-----------------------------------------------
0.00 0.00 1/52 ioopm_inventory_save [127]
0.00 0.00 51/52 save_storage_locs_to_file [116]
[111] 0.0 0.00 0.00 52 ioopm_linked_list_save_to_file [111]
-----------------------------------------------
0.00 0.00 51/51 TUI_inventory_replenish_stock [12]
[112] 0.0 0.00 0.00 51 ioopm_hash_table_is_empty [112]
-----------------------------------------------
0.00 0.00 51/51 is_new_shelf [114]
[113] 0.0 0.00 0.00 51 ioopm_linked_list_contains [113]
0.00 0.00 1275/15889 string_compare_function [81]
-----------------------------------------------
0.00 0.00 51/51 ask_question [18]
[114] 0.0 0.00 0.00 51 is_new_shelf [114]
0.00 0.00 51/252 is_number [103]
0.00 0.00 51/51 ioopm_linked_list_contains [113]
-----------------------------------------------
0.00 0.00 51/51 ioopm_inventory_save [127]
[115] 0.0 0.00 0.00 51 save_merch_to_file [115]
0.00 0.00 51/51 save_storage_locs_to_file [116]
-----------------------------------------------
0.00 0.00 51/51 save_merch_to_file [115]
[116] 0.0 0.00 0.00 51 save_storage_locs_to_file [116]
0.00 0.00 51/52 ioopm_linked_list_save_to_file [111]
-----------------------------------------------
0.00 0.00 48/48 ioopm_inventory_remove_merchandise [118]
[117] 0.0 0.00 0.00 48 ioopm_hash_table_remove [117]
0.00 0.00 48/4020 get_sentinel [89]
0.00 0.00 48/4020 find_previous_entry_for_key [88]
0.00 0.00 48/15889 string_compare_function [81]
-----------------------------------------------
0.00 0.00 48/48 TUI_inventory_remove_merch [14]
[118] 0.0 0.00 0.00 48 ioopm_inventory_remove_merchandise [118]
0.00 0.00 48/48 ioopm_hash_table_remove [117]
-----------------------------------------------
0.00 0.00 32/32 h_delete_internal [123]
[119] 0.0 0.00 0.00 32 page_delete [119]
-----------------------------------------------
0.00 0.00 32/32 h_init_internal [125]
[120] 0.0 0.00 0.00 32 page_init [120]
-----------------------------------------------
0.00 0.00 1/1 ioopm_inventory_create [50]
[121] 0.0 0.00 0.00 1 get_password [121]
0.00 0.00 1/252 is_number [103]
-----------------------------------------------
0.00 0.00 1/1 main [1]
[122] 0.0 0.00 0.00 1 h_delete [122]
0.00 0.00 1/1 h_delete_internal [123]
-----------------------------------------------
0.00 0.00 1/1 h_delete [122]
[123] 0.0 0.00 0.00 1 h_delete_internal [123]
0.00 0.00 32/32 page_delete [119]
-----------------------------------------------
0.00 0.00 1/1 main [1]
[124] 0.0 0.00 0.00 1 h_init [124]
0.00 0.00 1/1 h_init_internal [125]
-----------------------------------------------
0.00 0.00 1/1 h_init [124]
[125] 0.0 0.00 0.00 1 h_init_internal [125]
0.00 0.00 32/32 page_init [120]
-----------------------------------------------
0.00 0.00 1/1 ioopm_inventory_save [127]
[126] 0.0 0.00 0.00 1 ioopm_hash_table_save_to_file [126]
-----------------------------------------------
0.00 0.00 1/1 main [1]
[127] 0.0 0.00 0.00 1 ioopm_inventory_save [127]
0.00 0.00 51/51 save_merch_to_file [115]
0.00 0.00 1/1 ioopm_hash_table_save_to_file [126]
0.00 0.00 1/52 ioopm_linked_list_save_to_file [111]
-----------------------------------------------
0.00 0.00 1/1 destroy_carts [72]
[128] 0.0 0.00 0.00 1 ioopm_linked_list_size [128]
-----------------------------------------------
0.00 0.00 1/1 ask_question [18]
[129] 0.0 0.00 0.00 1 is_number_ [129]
0.00 0.00 1/252 is_number [103]
-----------------------------------------------
This table describes the call tree of the program, and was sorted by
the total amount of time spent in each function and its children.
Each entry in this table consists of several lines. The line with the
index number at the left hand margin lists the current function.
The lines above it list the functions that called this function,
and the lines below it list the functions this one called.
This line lists:
index A unique number given to each element of the table.
Index numbers are sorted numerically.
The index number is printed next to every function name so
it is easier to look up where the function is in the table.
% time This is the percentage of the `total' time that was spent
in this function and its children. Note that due to
different viewpoints, functions excluded by options, etc,
these numbers will NOT add up to 100%.
self This is the total amount of time spent in this function.
children This is the total amount of time propagated into this
function by its children.
called This is the number of times the function was called.
If the function called itself recursively, the number
only includes non-recursive calls, and is followed by
a `+' and the number of recursive calls.
name The name of the current function. The index number is
printed after it. If the function is a member of a
cycle, the cycle number is printed between the
function's name and the index number.
For the function's parents, the fields have the following meanings:
self This is the amount of time that was propagated directly
from the function into this parent.
children This is the amount of time that was propagated from
the function's children into this parent.
called This is the number of times this parent called the
function `/' the total number of times the function
was called. Recursive calls to the function are not
included in the number after the `/'.
name This is the name of the parent. The parent's index
number is printed after it. If the parent is a
member of a cycle, the cycle number is printed between
the name and the index number.
If the parents of the function cannot be determined, the word
`<spontaneous>' is printed in the `name' field, and all the other
fields are blank.
For the function's children, the fields have the following meanings:
self This is the amount of time that was propagated directly
from the child into the function.
children This is the amount of time that was propagated from the
child's children to the function.
called This is the number of times the function called
this child `/' the total number of times the child
was called. Recursive calls by the child are not
listed in the number after the `/'.
name This is the name of the child. The child's index
number is printed after it. If the child is a
member of a cycle, the cycle number is printed
between the name and the index number.
If there are any cycles (circles) in the call graph, there is an
entry for the cycle-as-a-whole. This entry shows who called the
cycle (as parents) and the members of the cycle (as children.)
The `+' recursive calls entry shows the number of function calls that
were internal to the cycle, and the calls entry for each member shows,
for that member, how many times it was called from other members of
the cycle.
Copyright (C) 2012-2022 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Index by function name
[20] TUI_inventory_add_merch [125] h_init_internal [69] is_forward_address
[7] TUI_inventory_list_merch [73] h_used [34] is_little_end
[14] TUI_inventory_remove_merch [87] handle_input [105] is_menu_choice (ask.c)
[12] TUI_inventory_replenish_stock [44] has_room [97] is_menu_choice_list (ask.c)
[57] alloc_mem_block [98] heap_has_room [43] is_movable
[78] alloc_metadata [71] ioopm_ask_admin_access [110] is_new_inv_merch
[18] ask_question [41] ioopm_ask_existing_inventory_merch [114] is_new_shelf (ask.c)
[74] ask_question_int [30] ioopm_ask_menu [103] is_number
[26] ask_question_string [25] ioopm_ask_new_inventory_merch [129] is_number_
[35] ask_question_u_int [46] ioopm_ask_new_shelf [107] is_pos_number
[60] avail_space_page [31] ioopm_ask_question_string [108] is_pos_number_
[85] calc_buf_length [47] ioopm_ask_question_u_int [21] is_ptr_to_page
[8] create_link (linked_list.c) [52] ioopm_hash_table_create_spec [15] is_valid_ptr
[29] create_merchandise (inventory.c) [99] ioopm_hash_table_has_key [95] make_active
[72] destroy_carts [39] ioopm_hash_table_insert [48] make_passive
[16] do_move [112] ioopm_hash_table_is_empty [3] move
[38] entry_create (hash_table.c) [10] ioopm_hash_table_keys [53] move_data_block
[4] event_loop [91] ioopm_hash_table_lookup [101] not_empty
[88] find_previous_entry_for_key (hash_table.c) [117] ioopm_hash_table_remove [102] not_empty_
[76] get_active_pages [126] ioopm_hash_table_save_to_file [56] page_alloc_data
[67] get_alloc_page [24] ioopm_inventory_add_merchandise [49] page_alloc_struct
[45] get_bit_alloc_map [50] ioopm_inventory_create [119] page_delete
[23] get_data_id [11] ioopm_inventory_get_merchandise_list [120] page_init
[63] get_data_size [51] ioopm_inventory_load [96] read_string
[13] get_format_vector [118] ioopm_inventory_remove_merchandise [6] reset_all_been_visited
[79] get_forward_address [27] ioopm_inventory_replenish_new_shelf_stock [33] reset_been_visited
[42] get_moveto_page [127] ioopm_inventory_save [115] save_merch_to_file (inventory.c)
[77] get_passive_pages [92] ioopm_iterator_current [116] save_storage_locs_to_file (inventory.c)
[121] get_password (inventory.c) [93] ioopm_iterator_has_next [54] set_NO_buckets (hash_table.c)
[89] get_sentinel (hash_table.c) [94] ioopm_iterator_next [68] set_been_visited
[84] get_sentinel_bucket (hash_table.c) [104] ioopm_linked_list_any [70] set_bit_alloc_map
[82] get_size_and_format_vector [9] ioopm_linked_list_append [65] set_data_size
[86] get_size_of_struct [113] ioopm_linked_list_contains [58] set_format_vector
[32] get_size_struct [28] ioopm_linked_list_create [61] set_forward_address
[59] get_valid_ptrs [109] ioopm_linked_list_is_empty [66] stack_addresses
[17] h_alloc_data [111] ioopm_linked_list_save_to_file [100] str_to_int
[75] h_alloc_data_internal [128] ioopm_linked_list_size [19] str_to_str
[5] h_alloc_struct [37] ioopm_list_iterator [81] string_compare_function (inventory.c)
[62] h_alloc_struct_internal [55] is_active [83] string_lt (inventory.c)
[122] h_delete [40] is_been_visited [90] string_sum_hash (inventory.c)
[123] h_delete_internal [36] is_data_size [64] used_space
[2] h_gc [106] is_existing_inv_merch [80] used_space_page
[124] h_init [22] is_format_vector
memory usage: total heap usage: 1,778,953 allocs, 1,778,953 frees, 5,623,020 bytes allocated