--------------------------------------------------------------------------------
Command:            apex-ram-endpoint cnsa20-apex client 11313 /usr/share/wolfssl/certs/server-mldsa87-pub.der
Massif arguments:   --stacks=yes --peak-inaccuracy=0.1 --max-snapshots=200 --detailed-freq=1000000 --massif-out-file=/root/results_run_2/cnsa20_apex_endpoint.client.massif
ms_print arguments: cnsa20_apex_endpoint.client.massif
--------------------------------------------------------------------------------


    KB
19.97^                                       #                                
     |                                     ::#::::::::::::::::::::::::::::::  
     |                                     ::#::::::::::::::::::::::::::::::  
     |                   ::: :::           ::#::::::::::::::::::::::::::::::  
     |                  @:::::::::         ::#::::::::::::::::::::::::::::::  
     |                  @:::::::::         ::#::::::::::::::::::::::::::::::  
     |                  @:::::::::         ::#::::::::::::::::::::::::::::::  
     |                @:@:::::::::         ::#::::::::::::::::::::::::::::::  
     |         :::::: @:@:::::::::         ::#::::::::::::::::::::::::::::::  
     |       :::::::::@:@:::::::::         ::#::::::::::::::::::::::::::::::  
     |       :::::::::@:@:::::::::         ::#::::::::::::::::::::::::::::::  
     |       :::::::::@:@:::::::::         ::#::::::::::::::::::::::::::::::  
     |       :::::::::@:@:::::::::        :::#::::::::::::::::::::::::::::::  
     |       :::::::::@:@:::::::::        :::#::::::::::::::::::::::::::::::  
     |    ::::::::::::@:@:::::::::        :::#::::::::::::::::::::::::::::::  
     |    ::::::::::::@:@:::::::::        :::#::::::::::::::::::::::::::::::  
     |    ::::::::::::@:@::::::::::::::::::::#::::::::::::::::::::::::::::::  
     |    ::::::::::::@:@::::::::::::::::::::#::::::::::::::::::::::::::::::  
     |:   ::::::::::::@:@::::::::::::::::::::#::::::::::::::::::::::::::::::  
     |::::::::::::::::@:@::::::::::::::::::::#::::::::::::::::::::::::::::::::
   0 +----------------------------------------------------------------------->Mi
     0                                                                   6.111

Number of snapshots: 175
 Detailed snapshots: [38, 41, 86 (peak)]

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  0              0                0                0             0            0
  1         35,938            2,488                0             0        2,488
  2         95,166            1,304                0             0        1,304
  3        130,549            1,824                0             0        1,824
  4        160,514            1,528                0             0        1,528
  5        205,251            1,824                0             0        1,824
  6        238,623            1,896                0             0        1,896
  7        278,330            1,624                0             0        1,624
  8        307,695            1,824                0             0        1,824
  9        350,562            1,584                0             0        1,584
 10        381,173            1,528                0             0        1,528
 11        420,803            6,176              672            40        5,464
 12        453,201            6,256              672            40        5,544
 13        492,008            6,256              672            40        5,544
 14        521,775            6,176              672            40        5,464
 15        566,233            6,368              759            65        5,544
 16        608,188            5,880              468            44        5,368
 17        635,878            6,016              503            49        5,464
 18        688,066           11,704            6,272            32        5,400
 19        720,607           11,632            6,272            32        5,328
 20        755,795           11,632            6,272            32        5,328
 21        796,424           12,264            6,778            46        5,440
 22        848,593           12,352            6,778            46        5,528
 23        878,246           11,720            6,272            32        5,416
 24        920,652           11,632            6,272            32        5,328
 25        953,964           12,352            6,778            46        5,528
 26        999,788           12,352            6,778            46        5,528
 27      1,043,509           11,592            6,272            32        5,288
 28      1,104,893           12,352            6,778            46        5,528
 29      1,140,422           12,352            6,778            46        5,528
 30      1,167,607           11,720            6,272            32        5,416
 31      1,205,412           11,592            6,272            32        5,288
 32      1,245,770           12,352            6,778            46        5,528
 33      1,291,643           12,352            6,778            46        5,528
 34      1,331,638           11,720            6,272            32        5,416
 35      1,356,561           11,592            6,272            32        5,288
 36      1,395,898            9,032            4,096            16        4,920
 37      1,446,938            9,032            4,096            16        4,920
 38      1,498,152           13,336            8,224            32        5,080
61.67% (8,224B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->19.20% (2,560B) 0x487FFCA: ??? (in /usr/lib/libwolfssl.so.46.0.0)
| ->19.20% (2,560B) 0x488125B: wc_MlKemKey_Decapsulate (in /usr/lib/libwolfssl.so.46.0.0)
|   ->19.20% (2,560B) 0x109FE3: ??? (in /usr/bin/apex-ram-endpoint)
|     ->19.20% (2,560B) 0x1095B0: ??? (in /usr/bin/apex-ram-endpoint)
|       ->19.20% (2,560B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|         
->15.36% (2,048B) 0x487FF4D: ??? (in /usr/lib/libwolfssl.so.46.0.0)
| ->15.36% (2,048B) 0x4880858: wc_MlKemKey_MakeKeyWithRandom (in /usr/lib/libwolfssl.so.46.0.0)
|   ->15.36% (2,048B) 0x4880A77: wc_MlKemKey_MakeKey (in /usr/lib/libwolfssl.so.46.0.0)
|     ->15.36% (2,048B) 0x109F6A: ??? (in /usr/bin/apex-ram-endpoint)
|       ->15.36% (2,048B) 0x1095B0: ??? (in /usr/bin/apex-ram-endpoint)
|         ->15.36% (2,048B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|           
->15.36% (2,048B) 0x4880890: wc_MlKemKey_MakeKeyWithRandom (in /usr/lib/libwolfssl.so.46.0.0)
| ->15.36% (2,048B) 0x4880A77: wc_MlKemKey_MakeKey (in /usr/lib/libwolfssl.so.46.0.0)
|   ->15.36% (2,048B) 0x109F6A: ??? (in /usr/bin/apex-ram-endpoint)
|     ->15.36% (2,048B) 0x1095B0: ??? (in /usr/bin/apex-ram-endpoint)
|       ->15.36% (2,048B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|         
->11.76% (1,568B) 0x488123B: wc_MlKemKey_Decapsulate (in /usr/lib/libwolfssl.so.46.0.0)
| ->11.76% (1,568B) 0x109FE3: ??? (in /usr/bin/apex-ram-endpoint)
|   ->11.76% (1,568B) 0x1095B0: ??? (in /usr/bin/apex-ram-endpoint)
|     ->11.76% (1,568B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|       
->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 39      1,533,338           13,328            8,224            32        5,072
 40      1,570,818           13,416            8,224            32        5,160
 41      1,619,298           17,328           11,808            32        5,488
68.14% (11,808B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->35.46% (6,144B) 0x488011B: ??? (in /usr/lib/libwolfssl.so.46.0.0)
| ->35.46% (6,144B) 0x488136E: wc_MlKemKey_Decapsulate (in /usr/lib/libwolfssl.so.46.0.0)
|   ->35.46% (6,144B) 0x109FE3: ??? (in /usr/bin/apex-ram-endpoint)
|     ->35.46% (6,144B) 0x1095B0: ??? (in /usr/bin/apex-ram-endpoint)
|       ->35.46% (6,144B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|         
->11.82% (2,048B) 0x487FF4D: ??? (in /usr/lib/libwolfssl.so.46.0.0)
| ->11.82% (2,048B) 0x4880858: wc_MlKemKey_MakeKeyWithRandom (in /usr/lib/libwolfssl.so.46.0.0)
|   ->11.82% (2,048B) 0x4880A77: wc_MlKemKey_MakeKey (in /usr/lib/libwolfssl.so.46.0.0)
|     ->11.82% (2,048B) 0x109F6A: ??? (in /usr/bin/apex-ram-endpoint)
|       ->11.82% (2,048B) 0x1095B0: ??? (in /usr/bin/apex-ram-endpoint)
|         ->11.82% (2,048B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|           
->11.82% (2,048B) 0x4880890: wc_MlKemKey_MakeKeyWithRandom (in /usr/lib/libwolfssl.so.46.0.0)
| ->11.82% (2,048B) 0x4880A77: wc_MlKemKey_MakeKey (in /usr/lib/libwolfssl.so.46.0.0)
|   ->11.82% (2,048B) 0x109F6A: ??? (in /usr/bin/apex-ram-endpoint)
|     ->11.82% (2,048B) 0x1095B0: ??? (in /usr/bin/apex-ram-endpoint)
|       ->11.82% (2,048B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|         
->09.05% (1,568B) 0x488123B: wc_MlKemKey_Decapsulate (in /usr/lib/libwolfssl.so.46.0.0)
| ->09.05% (1,568B) 0x109FE3: ??? (in /usr/bin/apex-ram-endpoint)
|   ->09.05% (1,568B) 0x1095B0: ??? (in /usr/bin/apex-ram-endpoint)
|     ->09.05% (1,568B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|       
->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 42      1,673,128           17,200           11,808            32        5,360
 43      1,708,316           17,200           11,808            32        5,360
 44      1,755,448           17,920           12,314            46        5,560
 45      1,801,513           17,920           12,314            46        5,560
 46      1,827,362           17,288           11,808            32        5,448
 47      1,864,360           17,200           11,808            32        5,360
 48      1,908,096           17,920           12,314            46        5,560
 49      1,953,876           17,920           12,314            46        5,560
 50      1,979,744           17,288           11,808            32        5,448
 51      2,016,742           17,200           11,808            32        5,360
 52      2,050,211           17,920           12,314            46        5,560
 53      2,083,370           17,920           12,314            46        5,560
 54      2,132,149           17,288           11,808            32        5,448
 55      2,169,204           17,200           11,808            32        5,360
 56      2,213,001           17,920           12,314            46        5,560
 57      2,258,986           17,920           12,314            46        5,560
 58      2,284,835           17,288           11,808            32        5,448
 59      2,321,890           17,200           11,808            32        5,360
 60      2,382,551           17,200           11,808            32        5,360
 61      2,426,406           16,888           11,808            32        5,048
 62      2,453,472           10,784            5,664            24        5,096
 63      2,491,773           10,784            5,664            24        5,096
 64      2,531,402            4,912                0             0        4,912
 65      2,585,738            4,912                0             0        4,912
 66      2,640,074            4,912                0             0        4,912
 67      2,694,410            4,912                0             0        4,912
 68      2,748,746            4,912                0             0        4,912
 69      2,803,082            4,912                0             0        4,912
 70      2,830,250            4,912                0             0        4,912
 71      2,871,089            4,912                0             0        4,912
 72      2,925,425            4,912                0             0        4,912
 73      2,979,761            4,912                0             0        4,912
 74      3,034,097            4,912                0             0        4,912
 75      3,088,433            4,912                0             0        4,912
 76      3,142,769            4,912                0             0        4,912
 77      3,169,937            4,912                0             0        4,912
 78      3,210,200            8,480            2,592             8        5,880
 79      3,242,100            8,480            2,592             8        5,880
 80      3,274,000            8,480            2,592             8        5,880
 81      3,305,900            8,480            2,592             8        5,880
 82      3,352,689           20,096           14,025            23        6,048
 83      3,389,294           20,144           14,025            23        6,096
 84      3,432,502           20,144           14,025            23        6,096
 85      3,475,710           20,144           14,025            23        6,096
 86      3,525,499           20,448           14,025            23        6,400
68.59% (14,025B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->55.91% (11,433B) 0x48842C2: ??? (in /usr/lib/libwolfssl.so.46.0.0)
| ->55.91% (11,433B) 0x488609A: wc_MlDsaKey_VerifyCtx (in /usr/lib/libwolfssl.so.46.0.0)
|   ->55.91% (11,433B) 0x109B4C: ??? (in /usr/bin/apex-ram-endpoint)
|     ->55.91% (11,433B) 0x1095C5: ??? (in /usr/bin/apex-ram-endpoint)
|       ->55.91% (11,433B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|         
->12.68% (2,592B) 0x48874A4: wc_MlDsaKey_ImportPubRaw (in /usr/lib/libwolfssl.so.46.0.0)
| ->12.68% (2,592B) 0x4887AC1: wc_MlDsaKey_PublicKeyDecode (in /usr/lib/libwolfssl.so.46.0.0)
|   ->12.68% (2,592B) 0x109A4D: ??? (in /usr/bin/apex-ram-endpoint)
|     ->12.68% (2,592B) 0x109B22: ??? (in /usr/bin/apex-ram-endpoint)
|       ->12.68% (2,592B) 0x1095C5: ??? (in /usr/bin/apex-ram-endpoint)
|         ->12.68% (2,592B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|           
->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 87      3,572,524           20,144           14,025            23        6,096
 88      3,603,397           20,232           14,025            23        6,184
 89      3,648,533           20,232           14,025            23        6,184
 90      3,679,639           20,232           14,025            23        6,184
 91      3,724,763           20,232           14,025            23        6,184
 92      3,755,864           20,232           14,025            23        6,184
 93      3,801,000           20,232           14,025            23        6,184
 94      3,832,113           20,232           14,025            23        6,184
 95      3,867,068           20,144           14,025            23        6,096
 96      3,897,899           20,144           14,025            23        6,096
 97      3,928,777           20,232           14,025            23        6,184
 98      3,973,901           20,232           14,025            23        6,184
 99      4,022,102           20,232           14,025            23        6,184
100      4,050,138           20,232           14,025            23        6,184
101      4,081,244           20,232           14,025            23        6,184
102      4,112,350           20,232           14,025            23        6,184
103      4,143,456           20,232           14,025            23        6,184
104      4,192,429           20,144           14,025            23        6,096
105      4,223,422           20,144           14,025            23        6,096
106      4,254,295           20,232           14,025            23        6,184
107      4,285,413           20,232           14,025            23        6,184
108      4,316,526           20,232           14,025            23        6,184
109      4,347,632           20,232           14,025            23        6,184
110      4,375,668           20,232           14,025            23        6,184
111      4,406,774           20,232           14,025            23        6,184
112      4,437,880           20,232           14,025            23        6,184
113      4,468,986           20,232           14,025            23        6,184
114      4,517,959           20,144           14,025            23        6,096
115      4,548,889           20,144           14,025            23        6,096
116      4,579,767           20,232           14,025            23        6,184
117      4,610,873           20,232           14,025            23        6,184
118      4,641,993           20,232           14,025            23        6,184
119      4,673,099           20,232           14,025            23        6,184
120      4,701,135           20,232           14,025            23        6,184
121      4,732,241           20,232           14,025            23        6,184
122      4,763,347           20,232           14,025            23        6,184
123      4,794,453           20,232           14,025            23        6,184
124      4,843,426           20,144           14,025            23        6,096
125      4,874,479           20,144           14,025            23        6,096
126      4,905,357           20,232           14,025            23        6,184
127      4,936,463           20,232           14,025            23        6,184
128      4,967,569           20,232           14,025            23        6,184
129      4,998,675           20,232           14,025            23        6,184
130      5,026,711           20,232           14,025            23        6,184
131      5,057,812           20,232           14,025            23        6,184
132      5,088,930           20,232           14,025            23        6,184
133      5,120,036           20,232           14,025            23        6,184
134      5,169,016           20,144           14,025            23        6,096
135      5,200,060           20,144           14,025            23        6,096
136      5,230,938           20,232           14,025            23        6,184
137      5,262,044           20,232           14,025            23        6,184
138      5,293,150           20,232           14,025            23        6,184
139      5,324,256           20,232           14,025            23        6,184
140      5,352,292           20,232           14,025            23        6,184
141      5,383,405           20,232           14,025            23        6,184
142      5,414,511           20,232           14,025            23        6,184
143      5,445,617           20,232           14,025            23        6,184
144      5,494,597           20,144           14,025            23        6,096
145      5,525,377           20,144           14,025            23        6,096
146      5,556,255           20,232           14,025            23        6,184
147      5,587,368           20,232           14,025            23        6,184
148      5,618,469           20,232           14,025            23        6,184
149      5,649,587           20,232           14,025            23        6,184
150      5,677,623           20,232           14,025            23        6,184
151      5,708,729           20,232           14,025            23        6,184
152      5,739,835           20,232           14,025            23        6,184
153      5,770,948           20,232           14,025            23        6,184
154      5,819,921           20,144           14,025            23        6,096
155      5,850,740           20,144           14,025            23        6,096
156      5,881,618           20,232           14,025            23        6,184
157      5,912,724           20,232           14,025            23        6,184
158      5,943,830           20,232           14,025            23        6,184
159      5,974,936           20,232           14,025            23        6,184
160      6,002,972           20,232           14,025            23        6,184
161      6,034,078           20,232           14,025            23        6,184
162      6,065,184           20,232           14,025            23        6,184
163      6,096,290           20,232           14,025            23        6,184
164      6,145,263           20,144           14,025            23        6,096
165      6,173,974           20,328           14,025            23        6,280
166      6,201,818           20,328           14,025            23        6,280
167      6,227,466              752                0             0          752
168      6,252,484              752                0             0          752
169      6,277,611            1,832                0             0        1,832
170      6,303,919            1,568                0             0        1,568
171      6,331,519            1,848                0             0        1,848
172      6,357,539            1,632                0             0        1,632
173      6,382,800            1,632                0             0        1,632
174      6,408,283            1,632                0             0        1,632
