2 //--------------------------------------------------------------------*/
3 //--- DHAT: a Dynamic Heap Analysis Tool dh_test.js ---*/
4 //--------------------------------------------------------------------*/
7 This file is part of DHAT, a Valgrind tool for profiling the
8 heap usage of programs.
10 Copyright (C) 2018 Mozilla Foundation
12 This program is free software; you can redistribute it and/or
13 modify it under the terms of the GNU General Public License as
14 published by the Free Software Foundation; either version 2 of the
15 License, or (at your option) any later version.
17 This program is distributed in the hope that it will be useful, but
18 WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27 The GNU General Public License is contained in the file COPYING.
30 // We can't fully automate testing of a web app via the normal Valgrind
31 // regression testing. Instead we have this code, which is executed when
32 // dh_view.html is loaded with a "?test=1" parameter.
34 // Things tested by this file:
35 // - Tree building, with multiple sort metrics.
36 // - Text content of the displayed tree.
38 // Things not tested by this file:
39 // - Output from DHAT itself (unless that output is regenerated when necessary
40 // and copy-and-pasted in the "input" fields in this file).
41 // - Interactions with the "Load" button and "Sort metric" menu.
42 // - File loading and parsing.
43 // - Non-text content of the displayed tree (e.g. node colours, sortKey
45 // - Tree interactions (collapsing and expanding of nodes).
49 // Test inputs are copied verbatim from DHAT output files, not as strings but
50 // as actual JavaScript code. This works because output files are JSON, and
51 // JSON is valid JavaScript.
53 // Expected outputs are paired with a sort metric, and copied verbatim from the
57 //---------------------------------------------------------------------------
58 // empty (corresponds to dhat/tests/empty.c)
59 //---------------------------------------------------------------------------
64 //---------------------------------------------------------------------------
76 //---------------------------------------------------------------------------
80 label: "Total (bytes)",
82 //---------------------------------------------------------------------------
90 t-gmax: 0 instrs (0% of program duration)
95 Total: 0 bytes (0%, 0/Minstr) in 0 blocks (0%, 0/Minstr), avg size 0 bytes, avg lifetime 0 instrs (0% of program duration)
96 At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
97 At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
98 Reads: 0 bytes (0%, 0/Minstr), 0/byte
99 Writes: 0 bytes (0%, 0/Minstr), 0/byte
105 AP significance threshold: total >= 0 bytes (0%)
107 //---------------------------------------------------------------------------
113 //---------------------------------------------------------------------------
114 // single (corresponds to dhat/tests/single.c)
115 //---------------------------------------------------------------------------
120 //---------------------------------------------------------------------------
124 ,"mi":242900,"ei":249824
126 [{"tb":16,"tbk":1,"tli":6924
137 ,"0x10865B: main (single.cpp:4)"
140 //---------------------------------------------------------------------------
144 label: "Total (bytes)",
146 //---------------------------------------------------------------------------
154 t-gmax: 242,900 instrs (97.23% of program duration)
155 t-end: 249,824 instrs
159 Total: 16 bytes (100%, 64.05/Minstr) in 1 blocks (100%, 4/Minstr), avg size 16 bytes, avg lifetime 6,924 instrs (2.77% of program duration)
160 At t-gmax: 16 bytes (100%) in 1 blocks (100%), avg size 16 bytes
161 At t-end: 16 bytes (100%) in 1 blocks (100%), avg size 16 bytes
162 Reads: 0 bytes (0%, 0/Minstr), 0/byte
163 Writes: 12 bytes (100%, 48.03/Minstr), 0.75/byte
165 [ 0] 3 〃 〃 〃 - - - - - - - - - - - -
169 #1: 0x10865B: main (single.cpp:4)
173 AP significance threshold: total >= 0.16 bytes (1%)
175 //---------------------------------------------------------------------------
181 //---------------------------------------------------------------------------
182 // subseqs (a synthetic test for locations that are subsequences of other
183 // locations, which are rare but can happen in practice, esp. with recursion)
184 //---------------------------------------------------------------------------
189 //---------------------------------------------------------------------------
193 ,"mi":10000,"ei":20000
195 [{"tb":15,"tbk":1,"tli":1000
203 ,{"tb":14,"tbk":1,"tli":1000
211 ,{"tb":13,"tbk":1,"tli":1000
219 ,{"tb":12,"tbk":1,"tli":1000
227 ,{"tb":11,"tbk":1,"tli":1000
235 ,{"tb":10,"tbk":1,"tli":1000
243 ,{"tb":9,"tbk":1,"tli":1000
251 ,{"tb":8,"tbk":1,"tli":1000
259 ,{"tb":7,"tbk":1,"tli":1000
282 //---------------------------------------------------------------------------
286 label: "Total (bytes)",
288 //---------------------------------------------------------------------------
296 t-gmax: 10,000 instrs (50% of program duration)
300 ▼ AP 1/1 (3 children) {
301 Total: 99 bytes (100%, 4,950/Minstr) in 9 blocks (100%, 450/Minstr), avg size 11 bytes, avg lifetime 1,000 instrs (5% of program duration)
302 At t-gmax: 99 bytes (100%) in 9 blocks (100%), avg size 11 bytes
303 At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
304 Reads: 0 bytes (0%, 0/Minstr), 0/byte
305 Writes: 0 bytes (0%, 0/Minstr), 0/byte
310 ├─▼ AP 1.1/3 (2 children) {
311 │ Total: 42 bytes (42.42%, 2,100/Minstr) in 3 blocks (33.33%, 150/Minstr), avg size 14 bytes, avg lifetime 1,000 instrs (5% of program duration)
312 │ At t-gmax: 42 bytes (42.42%) in 3 blocks (33.33%), avg size 14 bytes
313 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
314 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
315 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
322 │ ├─▼ AP 1.1.1/2 (2 children) {
323 │ │ Total: 27 bytes (27.27%, 1,350/Minstr) in 2 blocks (22.22%, 100/Minstr), avg size 13.5 bytes, avg lifetime 1,000 instrs (5% of program duration)
324 │ │ At t-gmax: 27 bytes (27.27%) in 2 blocks (22.22%), avg size 13.5 bytes
325 │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
326 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
327 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
335 │ │ ├── AP 1.1.1.1/2 {
336 │ │ │ Total: 14 bytes (14.14%, 700/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 14 bytes, avg lifetime 1,000 instrs (5% of program duration)
337 │ │ │ Max: 14 bytes in 1 blocks, avg size 14 bytes
338 │ │ │ At t-gmax: 14 bytes (14.14%) in 1 blocks (11.11%), avg size 14 bytes
339 │ │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
340 │ │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
341 │ │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
343 │ │ │ [ 0] - - - - - - - - - - - - - -
352 │ │ └── AP 1.1.1.2/2 {
353 │ │ Total: 13 bytes (13.13%, 650/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 13 bytes, avg lifetime 1,000 instrs (5% of program duration)
354 │ │ Max: 13 bytes in 1 blocks, avg size 13 bytes
355 │ │ At t-gmax: 13 bytes (13.13%) in 1 blocks (11.11%), avg size 13 bytes
356 │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
357 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
358 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
360 │ │ [ 0] - - - - - - - - - - - - -
371 │ Total: 15 bytes (15.15%, 750/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 15 bytes, avg lifetime 1,000 instrs (5% of program duration)
372 │ Max: 15 bytes in 1 blocks, avg size 15 bytes
373 │ At t-gmax: 15 bytes (15.15%) in 1 blocks (11.11%), avg size 15 bytes
374 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
375 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
376 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
378 │ [ 0] - - - - - - - - - - - - - - -
386 ├─▼ AP 1.2/3 (2 children) {
387 │ Total: 33 bytes (33.33%, 1,650/Minstr) in 3 blocks (33.33%, 150/Minstr), avg size 11 bytes, avg lifetime 1,000 instrs (5% of program duration)
388 │ At t-gmax: 33 bytes (33.33%) in 3 blocks (33.33%), avg size 11 bytes
389 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
390 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
391 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
398 │ ├─▼ AP 1.2.1/2 (2 children) {
399 │ │ Total: 23 bytes (23.23%, 1,150/Minstr) in 2 blocks (22.22%, 100/Minstr), avg size 11.5 bytes, avg lifetime 1,000 instrs (5% of program duration)
400 │ │ At t-gmax: 23 bytes (23.23%) in 2 blocks (22.22%), avg size 11.5 bytes
401 │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
402 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
403 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
411 │ │ ├── AP 1.2.1.1/2 {
412 │ │ │ Total: 12 bytes (12.12%, 600/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 12 bytes, avg lifetime 1,000 instrs (5% of program duration)
413 │ │ │ Max: 12 bytes in 1 blocks, avg size 12 bytes
414 │ │ │ At t-gmax: 12 bytes (12.12%) in 1 blocks (11.11%), avg size 12 bytes
415 │ │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
416 │ │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
417 │ │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
419 │ │ │ [ 0] - - - - - - - - - - - -
429 │ │ └── AP 1.2.1.2/2 {
430 │ │ Total: 11 bytes (11.11%, 550/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 11 bytes, avg lifetime 1,000 instrs (5% of program duration)
431 │ │ Max: 11 bytes in 1 blocks, avg size 11 bytes
432 │ │ At t-gmax: 11 bytes (11.11%) in 1 blocks (11.11%), avg size 11 bytes
433 │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
434 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
435 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
437 │ │ [ 0] - - - - - - - - - - -
447 │ Total: 10 bytes (10.1%, 500/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 10 bytes, avg lifetime 1,000 instrs (5% of program duration)
448 │ Max: 10 bytes in 1 blocks, avg size 10 bytes
449 │ At t-gmax: 10 bytes (10.1%) in 1 blocks (11.11%), avg size 10 bytes
450 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
451 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
452 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
454 │ [ 0] - - - - - - - - - -
462 └─▼ AP 1.3/3 (3 children) {
463 Total: 24 bytes (24.24%, 1,200/Minstr) in 3 blocks (33.33%, 150/Minstr), avg size 8 bytes, avg lifetime 1,000 instrs (5% of program duration)
464 At t-gmax: 24 bytes (24.24%) in 3 blocks (33.33%), avg size 8 bytes
465 At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
466 Reads: 0 bytes (0%, 0/Minstr), 0/byte
467 Writes: 0 bytes (0%, 0/Minstr), 0/byte
474 │ Total: 9 bytes (9.09%, 450/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 9 bytes, avg lifetime 1,000 instrs (5% of program duration)
475 │ Max: 9 bytes in 1 blocks, avg size 9 bytes
476 │ At t-gmax: 9 bytes (9.09%) in 1 blocks (11.11%), avg size 9 bytes
477 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
478 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
479 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
481 │ [ 0] - - - - - - - - -
490 │ Total: 8 bytes (8.08%, 400/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 8 bytes, avg lifetime 1,000 instrs (5% of program duration)
491 │ Max: 8 bytes in 1 blocks, avg size 8 bytes
492 │ At t-gmax: 8 bytes (8.08%) in 1 blocks (11.11%), avg size 8 bytes
493 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
494 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
495 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
497 │ [ 0] - - - - - - - -
506 Total: 7 bytes (7.07%, 350/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 7 bytes, avg lifetime 1,000 instrs (5% of program duration)
507 Max: 7 bytes in 1 blocks, avg size 7 bytes
508 At t-gmax: 7 bytes (7.07%) in 1 blocks (11.11%), avg size 7 bytes
509 At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
510 Reads: 0 bytes (0%, 0/Minstr), 0/byte
511 Writes: 0 bytes (0%, 0/Minstr), 0/byte
521 AP significance threshold: total >= 0.99 bytes (1%)
523 //---------------------------------------------------------------------------
529 //---------------------------------------------------------------------------
530 // acc (corresponds to dhat/tests/acc.c)
531 //---------------------------------------------------------------------------
536 //---------------------------------------------------------------------------
540 ,"mi":265120,"ei":1337753
542 [{"tb":32,"tbk":1,"tli":4751
547 ,"acc":[0,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]
550 ,{"tb":20,"tbk":1,"tli":106
555 ,"acc":[-4,2,-4,0,-4,1,-4,0,-4,10]
558 ,{"tb":33,"tbk":1,"tli":39
566 ,{"tb":1024,"tbk":1,"tli":15179
571 ,"acc":[-500,2,-100,3,-424,2]
574 ,{"tb":1025,"tbk":1,"tli":15415
581 ,{"tb":100,"tbk":1,"tli":350084
586 ,"acc":[-4,50000,-96,0]
589 ,{"tb":100,"tbk":1,"tli":350072
594 ,"acc":[-4,50000,-96,0]
597 ,{"tb":100,"tbk":1,"tli":700084
602 ,"acc":[-4,65535,-96,0]
605 ,{"tb":100,"tbk":1,"tli":700072
610 ,"acc":[-4,65535,-96,0]
616 ,"0x10871F: main (acc.c:14)"
617 ,"0x108771: main (acc.c:23)"
618 ,"0x1087CB: main (acc.c:32)"
619 ,"0x1087F0: main (acc.c:37)"
620 ,"0x10886F: main (acc.c:47)"
621 ,"0x1086F1: m1 (acc.c:7)"
622 ,"0x1088C3: main (acc.c:54)"
623 ,"0x1088D1: main (acc.c:55)"
624 ,"0x10870B: m2 (acc.c:9)"
625 ,"0x108921: main (acc.c:64)"
626 ,"0x10892F: main (acc.c:65)"
629 //---------------------------------------------------------------------------
633 // All blocks are freed, which means all "At t-end" values are 0, so
634 // sorting by atTEndBytes results in no aggregate nodes, which is what we
636 label: "At t-end (bytes)",
638 //---------------------------------------------------------------------------
646 t-gmax: 265,120 instrs (19.82% of program duration)
647 t-end: 1,337,753 instrs
650 ▼ AP 1/1 (7 children) {
651 Total: 2,534 bytes (100%, 1,894.22/Minstr) in 9 blocks (100%, 6.73/Minstr), avg size 281.56 bytes, avg lifetime 237,311.33 instrs (17.74% of program duration)
652 At t-gmax: 1,025 bytes (100%) in 1 blocks (100%), avg size 1,025 bytes
653 At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
654 Reads: 2,053 bytes (100%, 1,534.66/Minstr), 0.81/byte
655 Writes: 1,202,694 bytes (100%, 899,040.41/Minstr), 474.62/byte
661 │ Total: 1,025 bytes (40.45%, 766.21/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 1,025 bytes, avg lifetime 15,415 instrs (1.15% of program duration)
662 │ Max: 1,025 bytes in 1 blocks, avg size 1,025 bytes
663 │ At t-gmax: 1,025 bytes (100%) in 1 blocks (100%), avg size 1,025 bytes
664 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
665 │ Reads: 1,025 bytes (49.93%, 766.21/Minstr), 1/byte
666 │ Writes: 1,025 bytes (0.09%, 766.21/Minstr), 1/byte
668 │ #1: 0x10886F: main (acc.c:47)
672 │ Total: 1,024 bytes (40.41%, 765.46/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 1,024 bytes, avg lifetime 15,179 instrs (1.13% of program duration)
673 │ Max: 1,024 bytes in 1 blocks, avg size 1,024 bytes
674 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
675 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
676 │ Reads: 1,024 bytes (49.88%, 765.46/Minstr), 1/byte
677 │ Writes: 1,124 bytes (0.09%, 840.21/Minstr), 1.1/byte
679 │ [ 0] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
680 │ [ 32] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
681 │ [ 64] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
682 │ [ 96] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
683 │ [128] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
684 │ [160] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
685 │ [192] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
686 │ [224] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
687 │ [256] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
688 │ [288] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
689 │ [320] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
690 │ [352] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
691 │ [384] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
692 │ [416] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
693 │ [448] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
694 │ [480] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 3 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
695 │ [512] 3 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
696 │ [544] 3 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
697 │ [576] 3 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 2 〃 〃 〃 〃 〃 〃 〃
698 │ [608] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
699 │ [640] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
700 │ [672] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
701 │ [704] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
702 │ [736] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
703 │ [768] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
704 │ [800] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
705 │ [832] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
706 │ [864] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
707 │ [896] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
708 │ [928] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
709 │ [960] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
710 │ [992] 2 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
713 │ #1: 0x1087F0: main (acc.c:37)
716 ├─▼ AP 1.3/7 (2 children) {
717 │ Total: 200 bytes (7.89%, 149.5/Minstr) in 2 blocks (22.22%, 1.5/Minstr), avg size 100 bytes, avg lifetime 350,078 instrs (26.17% of program duration)
718 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
719 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
720 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
721 │ Writes: 400,000 bytes (33.26%, 299,008.86/Minstr), 2,000/byte
723 │ [ 0] 100000 〃 〃 〃 - - - - - - - - - - - - - - - - - - - - - - - - - - - -
724 │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
725 │ [ 64] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
729 │ #1: 0x1086F1: m1 (acc.c:7)
733 │ │ Total: 100 bytes (3.95%, 74.75/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 100 bytes, avg lifetime 350,084 instrs (26.17% of program duration)
734 │ │ Max: 100 bytes in 1 blocks, avg size 100 bytes
735 │ │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
736 │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
737 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
738 │ │ Writes: 200,000 bytes (16.63%, 149,504.43/Minstr), 2,000/byte
740 │ │ [ 0] 50000 〃 〃 〃 - - - - - - - - - - - - - - - - - - - - - - - - - - - -
741 │ │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
742 │ │ [ 64] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
746 │ │ ^1: 0x1086F1: m1 (acc.c:7)
747 │ │ #2: 0x1088C3: main (acc.c:54)
751 │ Total: 100 bytes (3.95%, 74.75/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 100 bytes, avg lifetime 350,072 instrs (26.17% of program duration)
752 │ Max: 100 bytes in 1 blocks, avg size 100 bytes
753 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
754 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
755 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
756 │ Writes: 200,000 bytes (16.63%, 149,504.43/Minstr), 2,000/byte
758 │ [ 0] 50000 〃 〃 〃 - - - - - - - - - - - - - - - - - - - - - - - - - - - -
759 │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
760 │ [ 64] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
764 │ ^1: 0x1086F1: m1 (acc.c:7)
765 │ #2: 0x1088D1: main (acc.c:55)
768 ├─▼ AP 1.4/7 (2 children) {
769 │ Total: 200 bytes (7.89%, 149.5/Minstr) in 2 blocks (22.22%, 1.5/Minstr), avg size 100 bytes, avg lifetime 700,078 instrs (52.33% of program duration)
770 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
771 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
772 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
773 │ Writes: 800,000 bytes (66.52%, 598,017.72/Minstr), 4,000/byte
775 │ [ 0] ∞ 〃 〃 〃 - - - - - - - - - - - - - - - - - - - - - - - - - - - -
776 │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
777 │ [ 64] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
781 │ #1: 0x10870B: m2 (acc.c:9)
785 │ │ Total: 100 bytes (3.95%, 74.75/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 100 bytes, avg lifetime 700,084 instrs (52.33% of program duration)
786 │ │ Max: 100 bytes in 1 blocks, avg size 100 bytes
787 │ │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
788 │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
789 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
790 │ │ Writes: 400,000 bytes (33.26%, 299,008.86/Minstr), 4,000/byte
792 │ │ [ 0] ∞ 〃 〃 〃 - - - - - - - - - - - - - - - - - - - - - - - - - - - -
793 │ │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
794 │ │ [ 64] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
798 │ │ ^1: 0x10870B: m2 (acc.c:9)
799 │ │ #2: 0x108921: main (acc.c:64)
803 │ Total: 100 bytes (3.95%, 74.75/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 100 bytes, avg lifetime 700,072 instrs (52.33% of program duration)
804 │ Max: 100 bytes in 1 blocks, avg size 100 bytes
805 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
806 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
807 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
808 │ Writes: 400,000 bytes (33.26%, 299,008.86/Minstr), 4,000/byte
810 │ [ 0] ∞ 〃 〃 〃 - - - - - - - - - - - - - - - - - - - - - - - - - - - -
811 │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
812 │ [ 64] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
816 │ ^1: 0x10870B: m2 (acc.c:9)
817 │ #2: 0x10892F: main (acc.c:65)
821 │ Total: 33 bytes (1.3%, 24.67/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 33 bytes, avg lifetime 39 instrs (0% of program duration)
822 │ Max: 33 bytes in 1 blocks, avg size 33 bytes
823 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
824 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
825 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
826 │ Writes: 1 bytes (0%, 0.75/Minstr), 0.03/byte
828 │ [ 0] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
832 │ #1: 0x1087CB: main (acc.c:32)
836 │ Total: 32 bytes (1.26%, 23.92/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 32 bytes, avg lifetime 4,751 instrs (0.36% of program duration)
837 │ Max: 32 bytes in 1 blocks, avg size 32 bytes
838 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
839 │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
840 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
841 │ Writes: 496 bytes (0.04%, 370.77/Minstr), 15.5/byte
843 │ [ 0] - 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
846 │ #1: 0x10871F: main (acc.c:14)
850 Total: 20 bytes (0.79%, 14.95/Minstr) in 1 blocks (11.11%, 0.75/Minstr), avg size 20 bytes, avg lifetime 106 instrs (0.01% of program duration)
851 Max: 20 bytes in 1 blocks, avg size 20 bytes
852 At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
853 At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
854 Reads: 4 bytes (0.19%, 2.99/Minstr), 0.2/byte
855 Writes: 48 bytes (0%, 35.88/Minstr), 2.4/byte
857 [ 0] 2 〃 〃 〃 - - - - 1 〃 〃 〃 - - - - 10 〃 〃 〃
860 #1: 0x108771: main (acc.c:23)
864 AP significance threshold: at-t-end >= 0 bytes (0%)
866 //---------------------------------------------------------------------------
872 //---------------------------------------------------------------------------
873 // big (corresponds to dhat/tests/big.c)
874 //---------------------------------------------------------------------------
879 //---------------------------------------------------------------------------
883 ,"mi":245281,"ei":253354
885 [{"tb":706,"tbk":1,"tli":543
893 ,{"tb":5,"tbk":1,"tli":7972
901 ,{"tb":30,"tbk":1,"tli":7910
909 ,{"tb":20,"tbk":1,"tli":7857
917 ,{"tb":10,"tbk":1,"tli":7792
923 ,"fs":[1,12,13,14,15]
925 ,{"tb":60,"tbk":1,"tli":7709
931 ,"fs":[16,17,18,19,20,21,22]
933 ,{"tb":30,"tbk":1,"tli":7622
939 ,"fs":[16,17,18,23,24,25,26]
941 ,{"tb":20,"tbk":1,"tli":7528
947 ,"fs":[16,17,18,23,24,27,28,29]
949 ,{"tb":7,"tbk":1,"tli":7446
955 ,"fs":[16,17,18,30,31,32]
957 ,{"tb":3,"tbk":1,"tli":7375
963 ,"fs":[16,17,18,33,34]
965 ,{"tb":30,"tbk":1,"tli":7299
971 ,"fs":[35,36,37,38,39,40]
973 ,{"tb":20,"tbk":1,"tli":7249
981 ,{"tb":19,"tbk":1,"tli":7207
989 ,{"tb":9,"tbk":1,"tli":7158
997 ,{"tb":8,"tbk":1,"tli":7107
1005 ,{"tb":7,"tbk":1,"tli":7056
1013 ,{"tb":5,"tbk":1,"tli":7005
1021 ,{"tb":1,"tbk":1,"tli":6954
1029 ,{"tb":10,"tbk":1,"tli":6917
1040 ,"0x1086A1: a (big.c:10)"
1041 ,"0x1086BB: b1 (big.c:11)"
1042 ,"0x1086D5: c1 (big.c:12)"
1043 ,"0x1086EF: d1 (big.c:13)"
1044 ,"0x108A43: main (big.c:38)"
1045 ,"0x108709: d2 (big.c:14)"
1046 ,"0x108A5D: main (big.c:41)"
1047 ,"0x108723: c2 (big.c:15)"
1048 ,"0x108A67: main (big.c:42)"
1049 ,"0x10873D: b2 (big.c:16)"
1050 ,"0x108A71: main (big.c:43)"
1051 ,"0x108757: b3 (big.c:17)"
1052 ,"0x108771: e (big.c:17)"
1053 ,"0x10878B: f (big.c:17)"
1054 ,"0x108A7B: main (big.c:44)"
1055 ,"0x1087A5: g (big.c:18)"
1056 ,"0x1087BF: h (big.c:18)"
1057 ,"0x1087D9: i (big.c:18)"
1058 ,"0x1087F3: j2 (big.c:19)"
1059 ,"0x10880D: k (big.c:19)"
1060 ,"0x108827: l (big.c:19)"
1061 ,"0x108A85: main (big.c:45)"
1062 ,"0x108841: j3 (big.c:20)"
1063 ,"0x10885B: m (big.c:20)"
1064 ,"0x108875: n1 (big.c:21)"
1065 ,"0x108A8F: main (big.c:46)"
1066 ,"0x10888F: n2 (big.c:22)"
1067 ,"0x1088A9: o (big.c:22)"
1068 ,"0x108A99: main (big.c:47)"
1069 ,"0x1088C3: p (big.c:23)"
1070 ,"0x1088DD: q (big.c:23)"
1071 ,"0x108AA3: main (big.c:48)"
1072 ,"0x1088F7: r (big.c:24)"
1073 ,"0x108AAD: main (big.c:49)"
1074 ,"0x108911: s1 (big.c:25)"
1075 ,"0x10892B: s2 (big.c:25)"
1076 ,"0x108945: s3 (big.c:25)"
1077 ,"0x10895F: s4 (big.c:25)"
1078 ,"0x108979: s5 (big.c:25)"
1079 ,"0x108AB7: main (big.c:50)"
1080 ,"0x108993: t (big.c:26)"
1081 ,"0x108AC1: main (big.c:51)"
1082 ,"0x1089AD: u (big.c:27)"
1083 ,"0x108ACB: main (big.c:52)"
1084 ,"0x1089C7: v (big.c:28)"
1085 ,"0x1089E1: w (big.c:29)"
1086 ,"0x108AD5: main (big.c:53)"
1087 ,"0x1089FB: x (big.c:30)"
1088 ,"0x108ADF: main (big.c:54)"
1089 ,"0x108A15: y (big.c:31)"
1090 ,"0x108AE9: main (big.c:55)"
1091 ,"0x108A2F: z (big.c:32)"
1092 ,"0x108AF3: main (big.c:56)"
1093 ,"0x108AFD: main (big.c:57)"
1094 ,"0x108B07: main (big.c:60)"
1097 //---------------------------------------------------------------------------
1101 label: "Total (bytes)",
1103 //---------------------------------------------------------------------------
1111 t-gmax: 245,281 instrs (96.81% of program duration)
1112 t-end: 253,354 instrs
1115 ▼ AP 1/1 (7 children) {
1116 Total: 1,000 bytes (100%, 3,947.05/Minstr) in 19 blocks (100%, 74.99/Minstr), avg size 52.63 bytes, avg lifetime 7,037.16 instrs (2.78% of program duration)
1117 At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1118 At t-end: 294 bytes (100%) in 18 blocks (100%), avg size 16.33 bytes
1119 Reads: 0 bytes (0%, 0/Minstr), 0/byte
1120 Writes: 0 bytes (0%, 0/Minstr), 0/byte
1125 ├─▼ AP 1.1/7 (3 children) {
1126 │ Total: 771 bytes (77.1%, 3,043.17/Minstr) in 5 blocks (26.32%, 19.74/Minstr), avg size 154.2 bytes, avg lifetime 6,414.8 instrs (2.53% of program duration)
1127 │ At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1128 │ At t-end: 65 bytes (22.11%) in 4 blocks (22.22%), avg size 16.25 bytes
1129 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1130 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1132 │ #1: 0x1086A1: a (big.c:10)
1135 │ ├─▼ AP 1.1.1/3 (2 children) {
1136 │ │ Total: 741 bytes (74.1%, 2,924.76/Minstr) in 3 blocks (15.79%, 11.84/Minstr), avg size 247 bytes, avg lifetime 5,475 instrs (2.16% of program duration)
1137 │ │ At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1138 │ │ At t-end: 35 bytes (11.9%) in 2 blocks (11.11%), avg size 17.5 bytes
1139 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1140 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1142 │ │ ^1: 0x1086A1: a (big.c:10)
1143 │ │ #2: 0x1086BB: b1 (big.c:11)
1146 │ │ ├─▼ AP 1.1.1.1/2 (2 children) {
1147 │ │ │ Total: 711 bytes (71.1%, 2,806.35/Minstr) in 2 blocks (10.53%, 7.89/Minstr), avg size 355.5 bytes, avg lifetime 4,257.5 instrs (1.68% of program duration)
1148 │ │ │ At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1149 │ │ │ At t-end: 5 bytes (1.7%) in 1 blocks (5.56%), avg size 5 bytes
1150 │ │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1151 │ │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1152 │ │ │ Allocated at {
1153 │ │ │ ^1: 0x1086A1: a (big.c:10)
1154 │ │ │ ^2: 0x1086BB: b1 (big.c:11)
1155 │ │ │ #3: 0x1086D5: c1 (big.c:12)
1158 │ │ │ ├── AP 1.1.1.1.1/2 {
1159 │ │ │ │ Total: 706 bytes (70.6%, 2,786.61/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 706 bytes, avg lifetime 543 instrs (0.21% of program duration)
1160 │ │ │ │ Max: 706 bytes in 1 blocks, avg size 706 bytes
1161 │ │ │ │ At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1162 │ │ │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1163 │ │ │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1164 │ │ │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1166 │ │ │ │ [ 0] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1167 │ │ │ │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1168 │ │ │ │ [ 64] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1169 │ │ │ │ [ 96] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1170 │ │ │ │ [128] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1171 │ │ │ │ [160] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1172 │ │ │ │ [192] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1173 │ │ │ │ [224] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1174 │ │ │ │ [256] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1175 │ │ │ │ [288] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1176 │ │ │ │ [320] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1177 │ │ │ │ [352] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1178 │ │ │ │ [384] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1179 │ │ │ │ [416] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1180 │ │ │ │ [448] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1181 │ │ │ │ [480] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1182 │ │ │ │ [512] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1183 │ │ │ │ [544] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1184 │ │ │ │ [576] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1185 │ │ │ │ [608] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1186 │ │ │ │ [640] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1187 │ │ │ │ [672] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1190 │ │ │ │ Allocated at {
1191 │ │ │ │ ^1: 0x1086A1: a (big.c:10)
1192 │ │ │ │ ^2: 0x1086BB: b1 (big.c:11)
1193 │ │ │ │ ^3: 0x1086D5: c1 (big.c:12)
1194 │ │ │ │ #4: 0x1086EF: d1 (big.c:13)
1195 │ │ │ │ #5: 0x108A43: main (big.c:38)
1198 │ │ │ └── AP 1.1.1.1.2/2 {
1199 │ │ │ Total: 5 bytes (0.5%, 19.74/Minstr)
1200 │ │ │ Allocated at {
1201 │ │ │ [1 insignificant]
1204 │ │ └── AP 1.1.1.2/2 {
1205 │ │ Total: 30 bytes (3%, 118.41/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 30 bytes, avg lifetime 7,910 instrs (3.12% of program duration)
1206 │ │ Max: 30 bytes in 1 blocks, avg size 30 bytes
1207 │ │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1208 │ │ At t-end: 30 bytes (10.2%) in 1 blocks (5.56%), avg size 30 bytes
1209 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1210 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1212 │ │ [ 0] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1215 │ │ ^1: 0x1086A1: a (big.c:10)
1216 │ │ ^2: 0x1086BB: b1 (big.c:11)
1217 │ │ #3: 0x108723: c2 (big.c:15)
1218 │ │ #4: 0x108A67: main (big.c:42)
1222 │ │ Total: 20 bytes (2%, 78.94/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 20 bytes, avg lifetime 7,857 instrs (3.1% of program duration)
1223 │ │ Max: 20 bytes in 1 blocks, avg size 20 bytes
1224 │ │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1225 │ │ At t-end: 20 bytes (6.8%) in 1 blocks (5.56%), avg size 20 bytes
1226 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1227 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1229 │ │ [ 0] - - - - - - - - - - - - - - - - - - - -
1232 │ │ ^1: 0x1086A1: a (big.c:10)
1233 │ │ #2: 0x10873D: b2 (big.c:16)
1234 │ │ #3: 0x108A71: main (big.c:43)
1238 │ Total: 10 bytes (1%, 39.47/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 10 bytes, avg lifetime 7,792 instrs (3.08% of program duration)
1239 │ Max: 10 bytes in 1 blocks, avg size 10 bytes
1240 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1241 │ At t-end: 10 bytes (3.4%) in 1 blocks (5.56%), avg size 10 bytes
1242 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1243 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1245 │ [ 0] - - - - - - - - - -
1248 │ ^1: 0x1086A1: a (big.c:10)
1249 │ #2: 0x108757: b3 (big.c:17)
1250 │ #3: 0x108771: e (big.c:17)
1251 │ #4: 0x10878B: f (big.c:17)
1252 │ #5: 0x108A7B: main (big.c:44)
1255 ├─▼ AP 1.2/7 (3 children) {
1256 │ Total: 120 bytes (12%, 473.65/Minstr) in 5 blocks (26.32%, 19.74/Minstr), avg size 24 bytes, avg lifetime 7,536 instrs (2.97% of program duration)
1257 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1258 │ At t-end: 120 bytes (40.82%) in 5 blocks (27.78%), avg size 24 bytes
1259 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1260 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1262 │ #1: 0x1087A5: g (big.c:18)
1263 │ #2: 0x1087BF: h (big.c:18)
1264 │ #3: 0x1087D9: i (big.c:18)
1268 │ │ Total: 60 bytes (6%, 236.82/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 60 bytes, avg lifetime 7,709 instrs (3.04% of program duration)
1269 │ │ Max: 60 bytes in 1 blocks, avg size 60 bytes
1270 │ │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1271 │ │ At t-end: 60 bytes (20.41%) in 1 blocks (5.56%), avg size 60 bytes
1272 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1273 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1275 │ │ [ 0] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1276 │ │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1279 │ │ ^1: 0x1087A5: g (big.c:18)
1280 │ │ ^2: 0x1087BF: h (big.c:18)
1281 │ │ ^3: 0x1087D9: i (big.c:18)
1282 │ │ #4: 0x1087F3: j2 (big.c:19)
1283 │ │ #5: 0x10880D: k (big.c:19)
1284 │ │ #6: 0x108827: l (big.c:19)
1285 │ │ #7: 0x108A85: main (big.c:45)
1288 │ ├─▼ AP 1.2.2/3 (2 children) {
1289 │ │ Total: 50 bytes (5%, 197.35/Minstr) in 2 blocks (10.53%, 7.89/Minstr), avg size 25 bytes, avg lifetime 7,575 instrs (2.99% of program duration)
1290 │ │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1291 │ │ At t-end: 50 bytes (17.01%) in 2 blocks (11.11%), avg size 25 bytes
1292 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1293 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1295 │ │ ^1: 0x1087A5: g (big.c:18)
1296 │ │ ^2: 0x1087BF: h (big.c:18)
1297 │ │ ^3: 0x1087D9: i (big.c:18)
1298 │ │ #4: 0x108841: j3 (big.c:20)
1299 │ │ #5: 0x10885B: m (big.c:20)
1302 │ │ ├── AP 1.2.2.1/2 {
1303 │ │ │ Total: 30 bytes (3%, 118.41/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 30 bytes, avg lifetime 7,622 instrs (3.01% of program duration)
1304 │ │ │ Max: 30 bytes in 1 blocks, avg size 30 bytes
1305 │ │ │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1306 │ │ │ At t-end: 30 bytes (10.2%) in 1 blocks (5.56%), avg size 30 bytes
1307 │ │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1308 │ │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1310 │ │ │ [ 0] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1312 │ │ │ Allocated at {
1313 │ │ │ ^1: 0x1087A5: g (big.c:18)
1314 │ │ │ ^2: 0x1087BF: h (big.c:18)
1315 │ │ │ ^3: 0x1087D9: i (big.c:18)
1316 │ │ │ ^4: 0x108841: j3 (big.c:20)
1317 │ │ │ ^5: 0x10885B: m (big.c:20)
1318 │ │ │ #6: 0x108875: n1 (big.c:21)
1319 │ │ │ #7: 0x108A8F: main (big.c:46)
1322 │ │ └── AP 1.2.2.2/2 {
1323 │ │ Total: 20 bytes (2%, 78.94/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 20 bytes, avg lifetime 7,528 instrs (2.97% of program duration)
1324 │ │ Max: 20 bytes in 1 blocks, avg size 20 bytes
1325 │ │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1326 │ │ At t-end: 20 bytes (6.8%) in 1 blocks (5.56%), avg size 20 bytes
1327 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1328 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1330 │ │ [ 0] - - - - - - - - - - - - - - - - - - - -
1333 │ │ ^1: 0x1087A5: g (big.c:18)
1334 │ │ ^2: 0x1087BF: h (big.c:18)
1335 │ │ ^3: 0x1087D9: i (big.c:18)
1336 │ │ ^4: 0x108841: j3 (big.c:20)
1337 │ │ ^5: 0x10885B: m (big.c:20)
1338 │ │ #6: 0x10888F: n2 (big.c:22)
1339 │ │ #7: 0x1088A9: o (big.c:22)
1340 │ │ #8: 0x108A99: main (big.c:47)
1344 │ Total: 10 bytes (1%, 39.47/Minstr)
1350 │ Total: 30 bytes (3%, 118.41/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 30 bytes, avg lifetime 7,299 instrs (2.88% of program duration)
1351 │ Max: 30 bytes in 1 blocks, avg size 30 bytes
1352 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1353 │ At t-end: 30 bytes (10.2%) in 1 blocks (5.56%), avg size 30 bytes
1354 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1355 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1357 │ [ 0] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1360 │ #1: 0x108911: s1 (big.c:25)
1361 │ #2: 0x10892B: s2 (big.c:25)
1362 │ #3: 0x108945: s3 (big.c:25)
1363 │ #4: 0x10895F: s4 (big.c:25)
1364 │ #5: 0x108979: s5 (big.c:25)
1365 │ #6: 0x108AB7: main (big.c:50)
1368 ├─▼ AP 1.4/7 (1 children) {
1369 │ Total: 30 bytes (3%, 118.41/Minstr) in 5 blocks (26.32%, 19.74/Minstr), avg size 6 bytes, avg lifetime 7,056 instrs (2.79% of program duration)
1370 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1371 │ At t-end: 30 bytes (10.2%) in 5 blocks (27.78%), avg size 6 bytes
1372 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1373 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1375 │ #1: 0x1089C7: v (big.c:28)
1379 │ Total: 30 bytes (3%, 118.41/Minstr)
1385 │ Total: 20 bytes (2%, 78.94/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 20 bytes, avg lifetime 7,249 instrs (2.86% of program duration)
1386 │ Max: 20 bytes in 1 blocks, avg size 20 bytes
1387 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1388 │ At t-end: 20 bytes (6.8%) in 1 blocks (5.56%), avg size 20 bytes
1389 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1390 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1392 │ [ 0] - - - - - - - - - - - - - - - - - - - -
1395 │ #1: 0x108993: t (big.c:26)
1396 │ #2: 0x108AC1: main (big.c:51)
1400 │ Total: 19 bytes (1.9%, 74.99/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 19 bytes, avg lifetime 7,207 instrs (2.84% of program duration)
1401 │ Max: 19 bytes in 1 blocks, avg size 19 bytes
1402 │ At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1403 │ At t-end: 19 bytes (6.46%) in 1 blocks (5.56%), avg size 19 bytes
1404 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1405 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1407 │ [ 0] - - - - - - - - - - - - - - - - - - -
1410 │ #1: 0x1089AD: u (big.c:27)
1411 │ #2: 0x108ACB: main (big.c:52)
1415 Total: 10 bytes (1%, 39.47/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 10 bytes, avg lifetime 6,917 instrs (2.73% of program duration)
1416 Max: 10 bytes in 1 blocks, avg size 10 bytes
1417 At t-gmax: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1418 At t-end: 10 bytes (3.4%) in 1 blocks (5.56%), avg size 10 bytes
1419 Reads: 0 bytes (0%, 0/Minstr), 0/byte
1420 Writes: 0 bytes (0%, 0/Minstr), 0/byte
1422 [ 0] - - - - - - - - - -
1425 #1: 0x108B07: main (big.c:60)
1429 AP significance threshold: total >= 10 bytes (1%)
1431 //---------------------------------------------------------------------------
1434 label: "Total (blocks), short-lived",
1436 //---------------------------------------------------------------------------
1444 t-gmax: 245,281 instrs (96.81% of program duration)
1445 t-end: 253,354 instrs
1448 ▼ AP 1/1 (1 children) {
1449 Total: 19 blocks (100%, 74.99/Minstr), avg lifetime 7,037.16 instrs (2.78% of program duration)
1455 Total: 19 blocks (100%, 74.99/Minstr), avg lifetime 7,037.16 instrs (2.78% of program duration)
1461 AP significance threshold: (total >= 0.1 blocks (0.5%)) && (total avg lifetime <= 500 instrs)
1463 //---------------------------------------------------------------------------
1466 label: "At t-gmax (bytes)",
1468 //---------------------------------------------------------------------------
1476 t-gmax: 245,281 instrs (96.81% of program duration)
1477 t-end: 253,354 instrs
1480 ▼ AP 1/1 (2 children) {
1481 Total: 1,000 bytes (100%, 3,947.05/Minstr) in 19 blocks (100%, 74.99/Minstr), avg size 52.63 bytes, avg lifetime 7,037.16 instrs (2.78% of program duration)
1482 At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1483 At t-end: 294 bytes (100%) in 18 blocks (100%), avg size 16.33 bytes
1484 Reads: 0 bytes (0%, 0/Minstr), 0/byte
1485 Writes: 0 bytes (0%, 0/Minstr), 0/byte
1490 ├─▼ AP 1.1/2 (2 children) {
1491 │ Total: 771 bytes (77.1%, 3,043.17/Minstr) in 5 blocks (26.32%, 19.74/Minstr), avg size 154.2 bytes, avg lifetime 6,414.8 instrs (2.53% of program duration)
1492 │ At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1493 │ At t-end: 65 bytes (22.11%) in 4 blocks (22.22%), avg size 16.25 bytes
1494 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1495 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1497 │ #1: 0x1086A1: a (big.c:10)
1500 │ ├─▼ AP 1.1.1/2 (2 children) {
1501 │ │ Total: 741 bytes (74.1%, 2,924.76/Minstr) in 3 blocks (15.79%, 11.84/Minstr), avg size 247 bytes, avg lifetime 5,475 instrs (2.16% of program duration)
1502 │ │ At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1503 │ │ At t-end: 35 bytes (11.9%) in 2 blocks (11.11%), avg size 17.5 bytes
1504 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1505 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1507 │ │ ^1: 0x1086A1: a (big.c:10)
1508 │ │ #2: 0x1086BB: b1 (big.c:11)
1511 │ │ ├─▼ AP 1.1.1.1/2 (2 children) {
1512 │ │ │ Total: 711 bytes (71.1%, 2,806.35/Minstr) in 2 blocks (10.53%, 7.89/Minstr), avg size 355.5 bytes, avg lifetime 4,257.5 instrs (1.68% of program duration)
1513 │ │ │ At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1514 │ │ │ At t-end: 5 bytes (1.7%) in 1 blocks (5.56%), avg size 5 bytes
1515 │ │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1516 │ │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1517 │ │ │ Allocated at {
1518 │ │ │ ^1: 0x1086A1: a (big.c:10)
1519 │ │ │ ^2: 0x1086BB: b1 (big.c:11)
1520 │ │ │ #3: 0x1086D5: c1 (big.c:12)
1523 │ │ │ ├── AP 1.1.1.1.1/2 {
1524 │ │ │ │ Total: 706 bytes (70.6%, 2,786.61/Minstr) in 1 blocks (5.26%, 3.95/Minstr), avg size 706 bytes, avg lifetime 543 instrs (0.21% of program duration)
1525 │ │ │ │ Max: 706 bytes in 1 blocks, avg size 706 bytes
1526 │ │ │ │ At t-gmax: 706 bytes (100%) in 1 blocks (100%), avg size 706 bytes
1527 │ │ │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
1528 │ │ │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1529 │ │ │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1531 │ │ │ │ [ 0] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1532 │ │ │ │ [ 32] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1533 │ │ │ │ [ 64] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1534 │ │ │ │ [ 96] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1535 │ │ │ │ [128] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1536 │ │ │ │ [160] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1537 │ │ │ │ [192] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1538 │ │ │ │ [224] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1539 │ │ │ │ [256] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1540 │ │ │ │ [288] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1541 │ │ │ │ [320] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1542 │ │ │ │ [352] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1543 │ │ │ │ [384] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1544 │ │ │ │ [416] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1545 │ │ │ │ [448] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1546 │ │ │ │ [480] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1547 │ │ │ │ [512] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1548 │ │ │ │ [544] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1549 │ │ │ │ [576] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1550 │ │ │ │ [608] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1551 │ │ │ │ [640] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1552 │ │ │ │ [672] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1555 │ │ │ │ Allocated at {
1556 │ │ │ │ ^1: 0x1086A1: a (big.c:10)
1557 │ │ │ │ ^2: 0x1086BB: b1 (big.c:11)
1558 │ │ │ │ ^3: 0x1086D5: c1 (big.c:12)
1559 │ │ │ │ #4: 0x1086EF: d1 (big.c:13)
1560 │ │ │ │ #5: 0x108A43: main (big.c:38)
1563 │ │ │ └── AP 1.1.1.1.2/2 {
1564 │ │ │ At t-gmax: 0 bytes (0%)
1565 │ │ │ Allocated at {
1566 │ │ │ [1 insignificant]
1569 │ │ └── AP 1.1.1.2/2 {
1570 │ │ At t-gmax: 0 bytes (0%)
1572 │ │ [1 insignificant]
1576 │ At t-gmax: 0 bytes (0%)
1582 At t-gmax: 0 bytes (0%)
1588 AP significance threshold: at-t-gmax >= 7.06 bytes (1%)
1590 //---------------------------------------------------------------------------
1596 //---------------------------------------------------------------------------
1597 // sig (corresponds to dhat/tests/sig.c)
1598 //---------------------------------------------------------------------------
1603 //---------------------------------------------------------------------------
1604 {"dhatFileVersion":1
1607 ,"mi":1311861,"ei":1318783
1609 [{"tb":11,"tbk":1,"tli":1075941
1617 ,{"tb":10,"tbk":1,"tli":880845
1625 ,{"tb":5,"tbk":1,"tli":702250
1633 ,{"tb":4,"tbk":1,"tli":606170
1641 ,{"tb":10,"tbk":1,"tli":510097
1649 ,{"tb":9,"tbk":1,"tli":331504
1657 ,{"tb":5,"tbk":1,"tli":169412
1665 ,{"tb":3,"tbk":1,"tli":169360
1673 ,{"tb":9,"tbk":1,"tli":169315
1681 ,{"tb":8,"tbk":1,"tli":7225
1689 ,{"tb":4,"tbk":1,"tli":7173
1697 ,{"tb":3,"tbk":1,"tli":7121
1705 ,{"tb":8,"tbk":1,"tli":7076
1713 ,{"tb":7,"tbk":1,"tli":7026
1721 ,{"tb":4,"tbk":1,"tli":6974
1729 ,{"tb":2,"tbk":1,"tli":6922
1740 ,"0x108681: am (sig.c:9)"
1741 ,"0x10883C: main (sig.c:57)"
1742 ,"0x10869B: a2 (sig.c:11)"
1743 ,"0x10885B: main (sig.c:58)"
1744 ,"0x1086B5: a3 (sig.c:12)"
1745 ,"0x10887A: main (sig.c:59)"
1746 ,"0x108899: main (sig.c:60)"
1747 ,"0x1086CF: bm (sig.c:15)"
1748 ,"0x1088B8: main (sig.c:62)"
1749 ,"0x1086E9: b2 (sig.c:17)"
1750 ,"0x1088D7: main (sig.c:63)"
1751 ,"0x108703: b3 (sig.c:18)"
1752 ,"0x1088F6: main (sig.c:64)"
1753 ,"0x108904: main (sig.c:65)"
1754 ,"0x10871D: cm (sig.c:21)"
1755 ,"0x108912: main (sig.c:67)"
1756 ,"0x108737: c2 (sig.c:23)"
1757 ,"0x108931: main (sig.c:68)"
1758 ,"0x108751: c3 (sig.c:24)"
1759 ,"0x10893F: main (sig.c:69)"
1760 ,"0x10894D: main (sig.c:70)"
1761 ,"0x10876B: dm (sig.c:27)"
1762 ,"0x10895B: main (sig.c:72)"
1763 ,"0x108785: d2 (sig.c:29)"
1764 ,"0x108969: main (sig.c:73)"
1765 ,"0x10879F: d3 (sig.c:30)"
1766 ,"0x108977: main (sig.c:74)"
1767 ,"0x108985: main (sig.c:75)"
1770 //---------------------------------------------------------------------------
1774 label: "Total (bytes), zero reads or zero writes",
1776 //---------------------------------------------------------------------------
1784 t-gmax: 1,311,861 instrs (99.48% of program duration)
1785 t-end: 1,318,783 instrs
1788 ▼ AP 1/1 (4 children) {
1789 Total: 102 bytes (100%, 77.34/Minstr)
1790 Reads: 58 bytes (100%, 43.98/Minstr)
1791 Writes: 86,942 bytes (100%, 65,925.93/Minstr)
1797 │ Total: 30 bytes (29.41%, 22.75/Minstr)
1798 │ Reads: 30 bytes (51.72%, 22.75/Minstr)
1799 │ Writes: 44,970 bytes (51.72%, 34,099.62/Minstr)
1804 ├─▼ AP 1.2/4 (2 children) {
1805 │ Total: 27 bytes (26.47%, 20.47/Minstr)
1806 │ Reads: 19 bytes (32.76%, 14.41/Minstr)
1807 │ Writes: 28,481 bytes (32.76%, 21,596.43/Minstr)
1809 │ #1: 0x1086CF: bm (sig.c:15)
1813 │ │ Total: 19 bytes (18.63%, 14.41/Minstr)
1814 │ │ Reads: 19 bytes (32.76%, 14.41/Minstr)
1815 │ │ Writes: 28,481 bytes (32.76%, 21,596.43/Minstr)
1817 │ │ [2 insignificant]
1820 │ └─▼ AP 1.2.2/2 (2 children) {
1821 │ Total: 8 bytes (7.84%, 6.07/Minstr) in 2 blocks (12.5%, 1.52/Minstr), avg size 4 bytes, avg lifetime 169,386 instrs (12.84% of program duration)
1822 │ At t-gmax: 8 bytes (7.84%) in 2 blocks (12.5%), avg size 4 bytes
1823 │ At t-end: 8 bytes (7.84%) in 2 blocks (12.5%), avg size 4 bytes
1824 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1825 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1827 │ ^1: 0x1086CF: bm (sig.c:15)
1828 │ #2: 0x108703: b3 (sig.c:18)
1831 │ ├── AP 1.2.2.1/2 {
1832 │ │ Total: 5 bytes (4.9%, 3.79/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 5 bytes, avg lifetime 169,412 instrs (12.85% of program duration)
1833 │ │ Max: 5 bytes in 1 blocks, avg size 5 bytes
1834 │ │ At t-gmax: 5 bytes (4.9%) in 1 blocks (6.25%), avg size 5 bytes
1835 │ │ At t-end: 5 bytes (4.9%) in 1 blocks (6.25%), avg size 5 bytes
1836 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1837 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1842 │ │ ^1: 0x1086CF: bm (sig.c:15)
1843 │ │ ^2: 0x108703: b3 (sig.c:18)
1844 │ │ #3: 0x1088F6: main (sig.c:64)
1847 │ └── AP 1.2.2.2/2 {
1848 │ Total: 3 bytes (2.94%, 2.27/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 3 bytes, avg lifetime 169,360 instrs (12.84% of program duration)
1849 │ Max: 3 bytes in 1 blocks, avg size 3 bytes
1850 │ At t-gmax: 3 bytes (2.94%) in 1 blocks (6.25%), avg size 3 bytes
1851 │ At t-end: 3 bytes (2.94%) in 1 blocks (6.25%), avg size 3 bytes
1852 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1853 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1858 │ ^1: 0x1086CF: bm (sig.c:15)
1859 │ ^2: 0x108703: b3 (sig.c:18)
1860 │ #3: 0x108904: main (sig.c:65)
1863 ├─▼ AP 1.3/4 (3 children) {
1864 │ Total: 24 bytes (23.53%, 18.2/Minstr)
1865 │ Reads: 9 bytes (15.52%, 6.82/Minstr)
1866 │ Writes: 13,491 bytes (15.52%, 10,229.89/Minstr)
1868 │ #1: 0x10871D: cm (sig.c:21)
1872 │ │ Total: 9 bytes (8.82%, 6.82/Minstr)
1873 │ │ Reads: 9 bytes (15.52%, 6.82/Minstr)
1874 │ │ Writes: 13,491 bytes (15.52%, 10,229.89/Minstr)
1876 │ │ [1 insignificant]
1880 │ │ Total: 8 bytes (7.84%, 6.07/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 8 bytes, avg lifetime 7,225 instrs (0.55% of program duration)
1881 │ │ Max: 8 bytes in 1 blocks, avg size 8 bytes
1882 │ │ At t-gmax: 8 bytes (7.84%) in 1 blocks (6.25%), avg size 8 bytes
1883 │ │ At t-end: 8 bytes (7.84%) in 1 blocks (6.25%), avg size 8 bytes
1884 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1885 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1887 │ │ [ 0] - - - - - - - -
1890 │ │ ^1: 0x10871D: cm (sig.c:21)
1891 │ │ #2: 0x108737: c2 (sig.c:23)
1892 │ │ #3: 0x108931: main (sig.c:68)
1895 │ └─▼ AP 1.3.3/3 (2 children) {
1896 │ Total: 7 bytes (6.86%, 5.31/Minstr) in 2 blocks (12.5%, 1.52/Minstr), avg size 3.5 bytes, avg lifetime 7,147 instrs (0.54% of program duration)
1897 │ At t-gmax: 7 bytes (6.86%) in 2 blocks (12.5%), avg size 3.5 bytes
1898 │ At t-end: 7 bytes (6.86%) in 2 blocks (12.5%), avg size 3.5 bytes
1899 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1900 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1902 │ ^1: 0x10871D: cm (sig.c:21)
1903 │ #2: 0x108751: c3 (sig.c:24)
1906 │ ├── AP 1.3.3.1/2 {
1907 │ │ Total: 4 bytes (3.92%, 3.03/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 4 bytes, avg lifetime 7,173 instrs (0.54% of program duration)
1908 │ │ Max: 4 bytes in 1 blocks, avg size 4 bytes
1909 │ │ At t-gmax: 4 bytes (3.92%) in 1 blocks (6.25%), avg size 4 bytes
1910 │ │ At t-end: 4 bytes (3.92%) in 1 blocks (6.25%), avg size 4 bytes
1911 │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1912 │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1917 │ │ ^1: 0x10871D: cm (sig.c:21)
1918 │ │ ^2: 0x108751: c3 (sig.c:24)
1919 │ │ #3: 0x10893F: main (sig.c:69)
1922 │ └── AP 1.3.3.2/2 {
1923 │ Total: 3 bytes (2.94%, 2.27/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 3 bytes, avg lifetime 7,121 instrs (0.54% of program duration)
1924 │ Max: 3 bytes in 1 blocks, avg size 3 bytes
1925 │ At t-gmax: 3 bytes (2.94%) in 1 blocks (6.25%), avg size 3 bytes
1926 │ At t-end: 3 bytes (2.94%) in 1 blocks (6.25%), avg size 3 bytes
1927 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1928 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1933 │ ^1: 0x10871D: cm (sig.c:21)
1934 │ ^2: 0x108751: c3 (sig.c:24)
1935 │ #3: 0x10894D: main (sig.c:70)
1938 └─▼ AP 1.4/4 (3 children) {
1939 Total: 21 bytes (20.59%, 15.92/Minstr) in 4 blocks (25%, 3.03/Minstr), avg size 5.25 bytes, avg lifetime 6,999.5 instrs (0.53% of program duration)
1940 At t-gmax: 21 bytes (20.59%) in 4 blocks (25%), avg size 5.25 bytes
1941 At t-end: 21 bytes (20.59%) in 4 blocks (25%), avg size 5.25 bytes
1942 Reads: 0 bytes (0%, 0/Minstr), 0/byte
1943 Writes: 0 bytes (0%, 0/Minstr), 0/byte
1945 #1: 0x10876B: dm (sig.c:27)
1949 │ Total: 8 bytes (7.84%, 6.07/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 8 bytes, avg lifetime 7,076 instrs (0.54% of program duration)
1950 │ Max: 8 bytes in 1 blocks, avg size 8 bytes
1951 │ At t-gmax: 8 bytes (7.84%) in 1 blocks (6.25%), avg size 8 bytes
1952 │ At t-end: 8 bytes (7.84%) in 1 blocks (6.25%), avg size 8 bytes
1953 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1954 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1956 │ [ 0] - - - - - - - -
1959 │ ^1: 0x10876B: dm (sig.c:27)
1960 │ #2: 0x10895B: main (sig.c:72)
1964 │ Total: 7 bytes (6.86%, 5.31/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 7 bytes, avg lifetime 7,026 instrs (0.53% of program duration)
1965 │ Max: 7 bytes in 1 blocks, avg size 7 bytes
1966 │ At t-gmax: 7 bytes (6.86%) in 1 blocks (6.25%), avg size 7 bytes
1967 │ At t-end: 7 bytes (6.86%) in 1 blocks (6.25%), avg size 7 bytes
1968 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1969 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
1971 │ [ 0] - - - - - - -
1974 │ ^1: 0x10876B: dm (sig.c:27)
1975 │ #2: 0x108785: d2 (sig.c:29)
1976 │ #3: 0x108969: main (sig.c:73)
1979 └─▼ AP 1.4.3/3 (2 children) {
1980 Total: 6 bytes (5.88%, 4.55/Minstr) in 2 blocks (12.5%, 1.52/Minstr), avg size 3 bytes, avg lifetime 6,948 instrs (0.53% of program duration)
1981 At t-gmax: 6 bytes (5.88%) in 2 blocks (12.5%), avg size 3 bytes
1982 At t-end: 6 bytes (5.88%) in 2 blocks (12.5%), avg size 3 bytes
1983 Reads: 0 bytes (0%, 0/Minstr), 0/byte
1984 Writes: 0 bytes (0%, 0/Minstr), 0/byte
1986 ^1: 0x10876B: dm (sig.c:27)
1987 #2: 0x10879F: d3 (sig.c:30)
1991 │ Total: 4 bytes (3.92%, 3.03/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 4 bytes, avg lifetime 6,974 instrs (0.53% of program duration)
1992 │ Max: 4 bytes in 1 blocks, avg size 4 bytes
1993 │ At t-gmax: 4 bytes (3.92%) in 1 blocks (6.25%), avg size 4 bytes
1994 │ At t-end: 4 bytes (3.92%) in 1 blocks (6.25%), avg size 4 bytes
1995 │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
1996 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
2001 │ ^1: 0x10876B: dm (sig.c:27)
2002 │ ^2: 0x10879F: d3 (sig.c:30)
2003 │ #3: 0x108977: main (sig.c:74)
2007 Total: 2 bytes (1.96%, 1.52/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 2 bytes, avg lifetime 6,922 instrs (0.52% of program duration)
2008 Max: 2 bytes in 1 blocks, avg size 2 bytes
2009 At t-gmax: 2 bytes (1.96%) in 1 blocks (6.25%), avg size 2 bytes
2010 At t-end: 2 bytes (1.96%) in 1 blocks (6.25%), avg size 2 bytes
2011 Reads: 0 bytes (0%, 0/Minstr), 0/byte
2012 Writes: 0 bytes (0%, 0/Minstr), 0/byte
2017 ^1: 0x10876B: dm (sig.c:27)
2018 ^2: 0x10879F: d3 (sig.c:30)
2019 #3: 0x108985: main (sig.c:75)
2023 AP significance threshold: (total >= 0.51 bytes (0.5%)) && ((reads == 0 bytes) || (writes == 0 bytes))
2025 //---------------------------------------------------------------------------
2028 label: "Total (blocks), low-access",
2030 //---------------------------------------------------------------------------
2038 t-gmax: 1,311,861 instrs (99.48% of program duration)
2039 t-end: 1,318,783 instrs
2042 ▼ AP 1/1 (2 children) {
2043 Total: 16 blocks (100%, 12.13/Minstr)
2051 │ Total: 12 blocks (75%, 9.1/Minstr)
2053 │ Writes: 941.68/byte
2058 └─▼ AP 1.2/2 (1 children) {
2059 Total: 24 bytes (23.53%, 18.2/Minstr) in 4 blocks (25%, 3.03/Minstr), avg size 6 bytes, avg lifetime 47,708.5 instrs (3.62% of program duration)
2060 At t-gmax: 24 bytes (23.53%) in 4 blocks (25%), avg size 6 bytes
2061 At t-end: 24 bytes (23.53%) in 4 blocks (25%), avg size 6 bytes
2062 Reads: 9 bytes (15.52%, 6.82/Minstr), 0.38/byte
2063 Writes: 13,491 bytes (15.52%, 10,229.89/Minstr), 562.13/byte
2065 #1: 0x10871D: cm (sig.c:21)
2069 Total: 4 blocks (25%, 3.03/Minstr)
2077 AP significance threshold: (total >= 0.08 blocks (0.5%)) && (reads != 0 bytes) && (writes != 0 bytes) && ((reads <= 0.4/byte) || (writes <= 0.4/byte))
2079 //---------------------------------------------------------------------------
2082 label: "Writes (bytes), high-access",
2084 //---------------------------------------------------------------------------
2092 t-gmax: 1,311,861 instrs (99.48% of program duration)
2093 t-end: 1,318,783 instrs
2096 ▼ AP 1/1 (4 children) {
2097 Writes: 86,942 bytes (100%, 65,925.93/Minstr), 852.37/byte
2102 ├─▼ AP 1.1/4 (3 children) {
2103 │ Total: 30 bytes (29.41%, 22.75/Minstr) in 4 blocks (25%, 3.03/Minstr), avg size 7.5 bytes, avg lifetime 816,301.5 instrs (61.9% of program duration)
2104 │ At t-gmax: 30 bytes (29.41%) in 4 blocks (25%), avg size 7.5 bytes
2105 │ At t-end: 30 bytes (29.41%) in 4 blocks (25%), avg size 7.5 bytes
2106 │ Reads: 30 bytes (51.72%, 22.75/Minstr), 1/byte
2107 │ Writes: 44,970 bytes (51.72%, 34,099.62/Minstr), 1,499/byte
2109 │ #1: 0x108681: am (sig.c:9)
2113 │ │ Total: 11 bytes (10.78%, 8.34/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 11 bytes, avg lifetime 1,075,941 instrs (81.59% of program duration)
2114 │ │ Max: 11 bytes in 1 blocks, avg size 11 bytes
2115 │ │ At t-gmax: 11 bytes (10.78%) in 1 blocks (6.25%), avg size 11 bytes
2116 │ │ At t-end: 11 bytes (10.78%) in 1 blocks (6.25%), avg size 11 bytes
2117 │ │ Reads: 11 bytes (18.97%, 8.34/Minstr), 1/byte
2118 │ │ Writes: 16,489 bytes (18.97%, 12,503.19/Minstr), 1,499/byte
2120 │ │ [ 0] 1500 〃 〃 〃 〃 〃 〃 〃 〃 〃 〃
2123 │ │ ^1: 0x108681: am (sig.c:9)
2124 │ │ #2: 0x10883C: main (sig.c:57)
2128 │ │ Total: 10 bytes (9.8%, 7.58/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 10 bytes, avg lifetime 880,845 instrs (66.79% of program duration)
2129 │ │ Max: 10 bytes in 1 blocks, avg size 10 bytes
2130 │ │ At t-gmax: 10 bytes (9.8%) in 1 blocks (6.25%), avg size 10 bytes
2131 │ │ At t-end: 10 bytes (9.8%) in 1 blocks (6.25%), avg size 10 bytes
2132 │ │ Reads: 10 bytes (17.24%, 7.58/Minstr), 1/byte
2133 │ │ Writes: 14,990 bytes (17.24%, 11,366.54/Minstr), 1,499/byte
2135 │ │ [ 0] 1500 〃 〃 〃 〃 〃 〃 〃 〃 〃
2138 │ │ ^1: 0x108681: am (sig.c:9)
2139 │ │ #2: 0x10869B: a2 (sig.c:11)
2140 │ │ #3: 0x10885B: main (sig.c:58)
2143 │ └─▼ AP 1.1.3/3 (2 children) {
2144 │ Total: 9 bytes (8.82%, 6.82/Minstr) in 2 blocks (12.5%, 1.52/Minstr), avg size 4.5 bytes, avg lifetime 654,210 instrs (49.61% of program duration)
2145 │ At t-gmax: 9 bytes (8.82%) in 2 blocks (12.5%), avg size 4.5 bytes
2146 │ At t-end: 9 bytes (8.82%) in 2 blocks (12.5%), avg size 4.5 bytes
2147 │ Reads: 9 bytes (15.52%, 6.82/Minstr), 1/byte
2148 │ Writes: 13,491 bytes (15.52%, 10,229.89/Minstr), 1,499/byte
2150 │ ^1: 0x108681: am (sig.c:9)
2151 │ #2: 0x1086B5: a3 (sig.c:12)
2154 │ ├── AP 1.1.3.1/2 {
2155 │ │ Total: 5 bytes (4.9%, 3.79/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 5 bytes, avg lifetime 702,250 instrs (53.25% of program duration)
2156 │ │ Max: 5 bytes in 1 blocks, avg size 5 bytes
2157 │ │ At t-gmax: 5 bytes (4.9%) in 1 blocks (6.25%), avg size 5 bytes
2158 │ │ At t-end: 5 bytes (4.9%) in 1 blocks (6.25%), avg size 5 bytes
2159 │ │ Reads: 5 bytes (8.62%, 3.79/Minstr), 1/byte
2160 │ │ Writes: 7,495 bytes (8.62%, 5,683.27/Minstr), 1,499/byte
2162 │ │ [ 0] 1500 〃 〃 〃 〃
2165 │ │ ^1: 0x108681: am (sig.c:9)
2166 │ │ ^2: 0x1086B5: a3 (sig.c:12)
2167 │ │ #3: 0x10887A: main (sig.c:59)
2170 │ └── AP 1.1.3.2/2 {
2171 │ Total: 4 bytes (3.92%, 3.03/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 4 bytes, avg lifetime 606,170 instrs (45.96% of program duration)
2172 │ Max: 4 bytes in 1 blocks, avg size 4 bytes
2173 │ At t-gmax: 4 bytes (3.92%) in 1 blocks (6.25%), avg size 4 bytes
2174 │ At t-end: 4 bytes (3.92%) in 1 blocks (6.25%), avg size 4 bytes
2175 │ Reads: 4 bytes (6.9%, 3.03/Minstr), 1/byte
2176 │ Writes: 5,996 bytes (6.9%, 4,546.62/Minstr), 1,499/byte
2181 │ ^1: 0x108681: am (sig.c:9)
2182 │ ^2: 0x1086B5: a3 (sig.c:12)
2183 │ #3: 0x108899: main (sig.c:60)
2186 ├─▼ AP 1.2/4 (3 children) {
2187 │ Total: 27 bytes (26.47%, 20.47/Minstr) in 4 blocks (25%, 3.03/Minstr), avg size 6.75 bytes, avg lifetime 295,093.25 instrs (22.38% of program duration)
2188 │ At t-gmax: 27 bytes (26.47%) in 4 blocks (25%), avg size 6.75 bytes
2189 │ At t-end: 27 bytes (26.47%) in 4 blocks (25%), avg size 6.75 bytes
2190 │ Reads: 19 bytes (32.76%, 14.41/Minstr), 0.7/byte
2191 │ Writes: 28,481 bytes (32.76%, 21,596.43/Minstr), 1,054.85/byte
2193 │ #1: 0x1086CF: bm (sig.c:15)
2197 │ │ Total: 10 bytes (9.8%, 7.58/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 10 bytes, avg lifetime 510,097 instrs (38.68% of program duration)
2198 │ │ Max: 10 bytes in 1 blocks, avg size 10 bytes
2199 │ │ At t-gmax: 10 bytes (9.8%) in 1 blocks (6.25%), avg size 10 bytes
2200 │ │ At t-end: 10 bytes (9.8%) in 1 blocks (6.25%), avg size 10 bytes
2201 │ │ Reads: 10 bytes (17.24%, 7.58/Minstr), 1/byte
2202 │ │ Writes: 14,990 bytes (17.24%, 11,366.54/Minstr), 1,499/byte
2204 │ │ [ 0] 1500 〃 〃 〃 〃 〃 〃 〃 〃 〃
2207 │ │ ^1: 0x1086CF: bm (sig.c:15)
2208 │ │ #2: 0x1088B8: main (sig.c:62)
2212 │ │ Total: 9 bytes (8.82%, 6.82/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 9 bytes, avg lifetime 331,504 instrs (25.14% of program duration)
2213 │ │ Max: 9 bytes in 1 blocks, avg size 9 bytes
2214 │ │ At t-gmax: 9 bytes (8.82%) in 1 blocks (6.25%), avg size 9 bytes
2215 │ │ At t-end: 9 bytes (8.82%) in 1 blocks (6.25%), avg size 9 bytes
2216 │ │ Reads: 9 bytes (15.52%, 6.82/Minstr), 1/byte
2217 │ │ Writes: 13,491 bytes (15.52%, 10,229.89/Minstr), 1,499/byte
2219 │ │ [ 0] 1500 〃 〃 〃 〃 〃 〃 〃 〃
2222 │ │ ^1: 0x1086CF: bm (sig.c:15)
2223 │ │ #2: 0x1086E9: b2 (sig.c:17)
2224 │ │ #3: 0x1088D7: main (sig.c:63)
2228 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
2233 ├─▼ AP 1.3/4 (2 children) {
2234 │ Writes: 13,491 bytes (15.52%, 10,229.89/Minstr), 562.13/byte
2236 │ #1: 0x10871D: cm (sig.c:21)
2240 │ │ Total: 9 bytes (8.82%, 6.82/Minstr) in 1 blocks (6.25%, 0.76/Minstr), avg size 9 bytes, avg lifetime 169,315 instrs (12.84% of program duration)
2241 │ │ Max: 9 bytes in 1 blocks, avg size 9 bytes
2242 │ │ At t-gmax: 9 bytes (8.82%) in 1 blocks (6.25%), avg size 9 bytes
2243 │ │ At t-end: 9 bytes (8.82%) in 1 blocks (6.25%), avg size 9 bytes
2244 │ │ Reads: 9 bytes (15.52%, 6.82/Minstr), 1/byte
2245 │ │ Writes: 13,491 bytes (15.52%, 10,229.89/Minstr), 1,499/byte
2247 │ │ [ 0] 1500 〃 〃 〃 〃 〃 〃 〃 〃
2250 │ │ ^1: 0x10871D: cm (sig.c:21)
2251 │ │ #2: 0x108912: main (sig.c:67)
2255 │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
2261 Writes: 0 bytes (0%, 0/Minstr), 0/byte
2267 AP significance threshold: (writes >= 434.71 bytes (0.5%)) && ((reads >= 1,000/byte) || (writes >= 1,000/byte))
2269 //---------------------------------------------------------------------------
2275 //---------------------------------------------------------------------------
2276 // sig2 (doesn't corresponds to a .c file)
2277 //---------------------------------------------------------------------------
2282 //---------------------------------------------------------------------------
2283 {"dhatFileVersion":1
2286 ,"mi":10000,"ei":20000
2288 [{"tb":100,"tbk":1,"tli":1000
2296 ,{"tb":101,"tbk":1,"tli":1000
2304 ,{"tb":102,"tbk":1,"tli":1000
2312 ,{"tb":103,"tbk":1,"tli":1000
2320 ,{"tb":104,"tbk":1,"tli":1000
2328 ,{"tb":105,"tbk":1,"tli":1000
2336 ,{"tb":10,"tbk":1,"tli":1000
2344 ,{"tb":106,"tbk":1,"tli":1000
2352 ,{"tb":107,"tbk":1,"tli":1000
2377 //---------------------------------------------------------------------------
2381 label: "Total (blocks), tiny",
2383 //---------------------------------------------------------------------------
2391 t-gmax: 10,000 instrs (50% of program duration)
2392 t-end: 20,000 instrs
2395 ▼ AP 1/1 (2 children) {
2396 Total: 9 blocks (100%, 450/Minstr), avg size 93.11 bytes
2401 ├─▼ AP 1.1/2 (2 children) {
2402 │ Total: 7 blocks (77.78%, 350/Minstr), avg size 91 bytes
2407 │ ├─▼ AP 1.1.1/2 (2 children) {
2408 │ │ Total: 5 blocks (55.56%, 250/Minstr), avg size 86.4 bytes
2413 │ │ ├─▼ AP 1.1.1.1/2 (2 children) {
2414 │ │ │ Total: 3 blocks (33.33%, 150/Minstr), avg size 74.33 bytes
2415 │ │ │ Allocated at {
2419 │ │ │ ├── AP 1.1.1.1.1/2 {
2420 │ │ │ │ Total: 2 blocks (22.22%, 100/Minstr), avg size 106.5 bytes
2421 │ │ │ │ Allocated at {
2422 │ │ │ │ [2 insignificant]
2425 │ │ │ └── AP 1.1.1.1.2/2 {
2426 │ │ │ Total: 10 bytes (1.19%, 500/Minstr) in 1 blocks (11.11%, 50/Minstr), avg size 10 bytes, avg lifetime 1,000 instrs (5% of program duration)
2427 │ │ │ Max: 10 bytes in 1 blocks, avg size 10 bytes
2428 │ │ │ At t-gmax: 10 bytes (1.19%) in 1 blocks (11.11%), avg size 10 bytes
2429 │ │ │ At t-end: 0 bytes (0%) in 0 blocks (0%), avg size 0 bytes
2430 │ │ │ Reads: 0 bytes (0%, 0/Minstr), 0/byte
2431 │ │ │ Writes: 0 bytes (0%, 0/Minstr), 0/byte
2433 │ │ │ [ 0] - - - - - - - - - -
2435 │ │ │ Allocated at {
2442 │ │ └── AP 1.1.1.2/2 {
2443 │ │ Total: 2 blocks (22.22%, 100/Minstr), avg size 104.5 bytes
2445 │ │ [2 insignificant]
2449 │ Total: 2 blocks (22.22%, 100/Minstr), avg size 102.5 bytes
2455 Total: 2 blocks (22.22%, 100/Minstr), avg size 100.5 bytes
2461 AP significance threshold: (total >= 0.05 blocks (0.5%)) && (total avg size <= 16 bytes)
2463 //---------------------------------------------------------------------------
2469 //---------------------------------------------------------------------------
2471 //---------------------------------------------------------------------------
2473 function runTests() {
2474 let pre = appendElement(gTestingDiv, "pre");
2476 for (let [i, test] of tests.entries()) {
2477 let name = test.name;
2480 for (let output of test.outputs) {
2481 // Set the sort metric.
2482 let label = output.label;
2484 let labelFound = false;
2485 for (let opt of gSelect.options) {
2486 if (gSelectData[opt.value].label == label) {
2487 gSelect.selectedIndex = j;
2493 assert(labelFound, "test label not found in gSelectData");
2495 // Build and display the tree.
2497 gFilename = "TEST MODE";
2502 // Compare actual text output against expected.
2503 let expected = output.expected;
2504 let actual = gMainDiv.textContent;
2506 let id = `Test ${i} - ${test.name} - ${label}`;
2508 if (expected !== actual) {
2509 // Test failed. Do a crude diff: find the line and column of the first
2510 // char that differs.
2511 let j = 0, line = 1, col = 1;
2512 while (expected[j] === actual[j]) {
2513 if (expected[j] === "\n") {
2525 Expected length: ${expected.length}, actual length: ${actual.length}
2526 First differing char at ${line}:${col}
2532 // Print line numbers for the expected output, because it makes it much
2533 // easier to find the first differing char.
2534 for (let [n, line] of expected.split('\n').entries()) {
2535 s += `${(n + 1).toString().padStart(3)} ${line}\n`;
2540 appendElementWithText(pre, "div", s);
2541 return; // stop on the first failure
2545 appendElementWithText(pre, "div", `PASS - ${id}`);
2549 clearMainDivWithText("All tests passed");