-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmassifFifoClient.log
More file actions
730 lines (719 loc) · 78.5 KB
/
massifFifoClient.log
File metadata and controls
730 lines (719 loc) · 78.5 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
--------------------------------------------------------------------------------
Command: ./clientX
Massif arguments: (none)
ms_print arguments: massif.out.113841
--------------------------------------------------------------------------------
MB
10.95^#
|#
|#:@::::::::::::::::::@@:::::::::::::::::::::@@:::@:::::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
|#:@:: :: :: :: : : ::@ ::: ::: :: : ::::::::@ :::@: :::::::@::::::@:::::
0 +----------------------------------------------------------------------->Gi
0 44.75
Number of snapshots: 65
Detailed snapshots: [1 (peak), 3, 17, 35, 39, 48, 57]
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
1 122,402,941 11,485,304 11,483,917 1,387 0
99.99% (11,483,917B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->52.24% (6,000,002B) 0x12530A: allocate (new_allocator.h:151)
| ->52.24% (6,000,002B) 0x12530A: allocate (allocator.h:196)
| ->52.24% (6,000,002B) 0x12530A: allocate (alloc_traits.h:515)
| ->52.24% (6,000,002B) 0x12530A: _S_allocate (basic_string.h:131)
| ->52.24% (6,000,002B) 0x12530A: _M_create (basic_string.tcc:159)
| ->52.24% (6,000,002B) 0x12530A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) (basic_string.tcc:315)
| ->26.12% (3,000,001B) 0x122CD0: Client::Client() (client_src/Client.cpp:20)
| | ->26.12% (3,000,001B) 0x12D290: fifo::FifoClient::FifoClient() (client_src/FifoClient.cpp:22)
| | ->26.12% (3,000,001B) 0x12AA2B: main (client_src/ClientMain.cpp:41)
| |
| ->26.12% (3,000,001B) 0x12F45D: TaskBuilder::TaskBuilder(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&) (client_src/TaskBuilder.cpp:16)
| | ->26.12% (3,000,001B) 0x124468: _Construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (stl_construct.h:119)
| | ->26.12% (3,000,001B) 0x124468: construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (alloc_traits.h:706)
| | ->26.12% (3,000,001B) 0x124468: _Sp_counted_ptr_inplace<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:607)
| | ->26.12% (3,000,001B) 0x124468: __shared_count<TaskBuilder, std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:970)
| | ->26.12% (3,000,001B) 0x124468: __shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:1713)
| | ->26.12% (3,000,001B) 0x124468: shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:463)
| | ->26.12% (3,000,001B) 0x124468: make_shared<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:1007)
| | ->26.12% (3,000,001B) 0x124468: Client::start() (???:92)
| | ->26.12% (3,000,001B) 0x12D648: fifo::FifoClient::run() (client_src/FifoClient.cpp:44)
| | ->26.12% (3,000,001B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|
->45.90% (5,271,233B) 0x12C113: allocate (new_allocator.h:151)
| ->45.90% (5,271,233B) 0x12C113: allocate (allocator.h:196)
| ->45.90% (5,271,233B) 0x12C113: allocate (alloc_traits.h:515)
| ->45.90% (5,271,233B) 0x12C113: _S_allocate (basic_string.h:131)
| ->45.90% (5,271,233B) 0x12C113: _M_create (basic_string.tcc:159)
| ->45.90% (5,271,233B) 0x12C113: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:332)
| ->23.47% (2,695,283B) 0x176AA3: _M_replace_aux (basic_string.tcc:468)
| | ->23.47% (2,695,283B) 0x176AA3: append (basic_string.h:1499)
| | ->23.47% (2,695,283B) 0x176AA3: resize (basic_string.tcc:405)
| | ->23.47% (2,695,283B) 0x176AA3: resize (basic_string.h:1119)
| | ->23.47% (2,695,283B) 0x176AA3: compressionLZ4::compress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:18)
| | ->23.47% (2,695,283B) 0x13017F: std::basic_string_view<char, std::char_traits<char> > compressEncrypt<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, int) (EncryptorTemplates.h:31)
| | ->23.47% (2,695,283B) 0x12FCC6: TaskBuilder::compressEncryptSubtask(bool) (client_src/TaskBuilder.cpp:93)
| | ->23.47% (2,695,283B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | ->23.47% (2,695,283B) 0x12F5F2: TaskBuilder::run() (???:25)
| | ->23.47% (2,695,283B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | ->23.47% (2,695,283B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | ->23.47% (2,695,283B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | ->23.47% (2,695,283B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | ->23.47% (2,695,283B) 0x1942C6: operator() (std_thread.h:308)
| | ->23.47% (2,695,283B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | ->23.47% (2,695,283B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | ->23.47% (2,695,283B) 0x52707F0: start_thread (pthread_create.c:448)
| | ->23.47% (2,695,283B) 0x5301943: clone (clone.S:100)
| |
| ->13.63% (1,565,575B) 0x12D1A7: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:548)
| | ->13.63% (1,565,382B) 0x12FD6B: assign (basic_string.h:1678)
| | | ->13.63% (1,565,382B) 0x12FD6B: assign<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1790)
| | | ->13.63% (1,565,382B) 0x12FD6B: TaskBuilder::compressEncryptSubtask(bool) (???:98)
| | | ->13.63% (1,565,382B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | | ->13.63% (1,565,382B) 0x12F5F2: TaskBuilder::run() (???:25)
| | | ->13.63% (1,565,382B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | | ->13.63% (1,565,382B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | | ->13.63% (1,565,382B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | | ->13.63% (1,565,382B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | | ->13.63% (1,565,382B) 0x1942C6: operator() (std_thread.h:308)
| | | ->13.63% (1,565,382B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | | ->13.63% (1,565,382B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | | ->13.63% (1,565,382B) 0x52707F0: start_thread (pthread_create.c:448)
| | | ->13.63% (1,565,382B) 0x5301943: clone (clone.S:100)
| | |
| | ->00.00% (193B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->06.81% (782,663B) 0x187837: _M_append (basic_string.tcc:424)
| | ->06.81% (782,663B) 0x187837: append (basic_string.h:1470)
| | ->06.81% (782,663B) 0x187837: append<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1544)
| | ->06.81% (782,663B) 0x187837: operator+=<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1425)
| | ->06.81% (782,663B) 0x187837: CryptoSodium::encrypt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::basic_string_view<char, std::char_traits<char> >) (???:110)
| | ->06.81% (782,663B) 0x130291: std::basic_string_view<char, std::char_traits<char> > compressEncrypt<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, int) (EncryptorTemplates.h:45)
| | ->06.81% (782,663B) 0x12FCC6: TaskBuilder::compressEncryptSubtask(bool) (client_src/TaskBuilder.cpp:93)
| | ->06.81% (782,663B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | ->06.81% (782,663B) 0x12F5F2: TaskBuilder::run() (???:25)
| | ->06.81% (782,663B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | ->06.81% (782,663B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | ->06.81% (782,663B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | ->06.81% (782,663B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | ->06.81% (782,663B) 0x1942C6: operator() (std_thread.h:308)
| | ->06.81% (782,663B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | ->06.81% (782,663B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | ->06.81% (782,663B) 0x52707F0: start_thread (pthread_create.c:448)
| | ->06.81% (782,663B) 0x5301943: clone (clone.S:100)
| |
| ->01.29% (147,711B) 0x176D1E: _M_replace_aux (basic_string.tcc:468)
| | ->01.29% (147,711B) 0x176D1E: append (basic_string.h:1499)
| | ->01.29% (147,711B) 0x176D1E: resize (basic_string.tcc:405)
| | ->01.29% (147,711B) 0x176D1E: resize (basic_string.h:1119)
| | ->01.29% (147,711B) 0x176D1E: compressionLZ4::uncompress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:34)
| | ->01.29% (147,711B) 0x125CCA: std::basic_string_view<char, std::char_traits<char> > decryptDecompress<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (EncryptorTemplates.h:73)
| | ->01.29% (147,711B) 0x12387E: Client::printReply() (client_src/Client.cpp:80)
| | ->01.29% (147,711B) 0x12DBA4: fifo::FifoClient::receive() (client_src/FifoClient.cpp:78)
| | ->01.29% (147,711B) 0x12341F: Client::processTask(std::weak_ptr<TaskBuilder>) (client_src/Client.cpp:45)
| | ->01.29% (147,711B) 0x12362F: Client::run() (client_src/Client.cpp:57)
| | ->01.29% (147,711B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.70% (80,001B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.85% (212,682B) in 54 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
2 760,035,193 10,702,640 10,701,283 1,357 0
3 1,564,630,225 10,702,640 10,701,283 1,357 0
99.99% (10,701,283B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->56.06% (6,000,002B) 0x12530A: allocate (new_allocator.h:151)
| ->56.06% (6,000,002B) 0x12530A: allocate (allocator.h:196)
| ->56.06% (6,000,002B) 0x12530A: allocate (alloc_traits.h:515)
| ->56.06% (6,000,002B) 0x12530A: _S_allocate (basic_string.h:131)
| ->56.06% (6,000,002B) 0x12530A: _M_create (basic_string.tcc:159)
| ->56.06% (6,000,002B) 0x12530A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) (basic_string.tcc:315)
| ->28.03% (3,000,001B) 0x122CD0: Client::Client() (client_src/Client.cpp:20)
| | ->28.03% (3,000,001B) 0x12D290: fifo::FifoClient::FifoClient() (client_src/FifoClient.cpp:22)
| | ->28.03% (3,000,001B) 0x12AA2B: main (client_src/ClientMain.cpp:41)
| |
| ->28.03% (3,000,001B) 0x12F45D: TaskBuilder::TaskBuilder(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&) (client_src/TaskBuilder.cpp:16)
| | ->28.03% (3,000,001B) 0x124468: _Construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (stl_construct.h:119)
| | ->28.03% (3,000,001B) 0x124468: construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (alloc_traits.h:706)
| | ->28.03% (3,000,001B) 0x124468: _Sp_counted_ptr_inplace<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:607)
| | ->28.03% (3,000,001B) 0x124468: __shared_count<TaskBuilder, std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:970)
| | ->28.03% (3,000,001B) 0x124468: __shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:1713)
| | ->28.03% (3,000,001B) 0x124468: shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:463)
| | ->28.03% (3,000,001B) 0x124468: make_shared<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:1007)
| | ->28.03% (3,000,001B) 0x124468: Client::start() (???:92)
| | ->28.03% (3,000,001B) 0x12D648: fifo::FifoClient::run() (client_src/FifoClient.cpp:44)
| | ->28.03% (3,000,001B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|
->41.94% (4,488,570B) 0x12C113: allocate (new_allocator.h:151)
| ->41.94% (4,488,570B) 0x12C113: allocate (allocator.h:196)
| ->41.94% (4,488,570B) 0x12C113: allocate (alloc_traits.h:515)
| ->41.94% (4,488,570B) 0x12C113: _S_allocate (basic_string.h:131)
| ->41.94% (4,488,570B) 0x12C113: _M_create (basic_string.tcc:159)
| ->41.94% (4,488,570B) 0x12C113: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:332)
| ->25.18% (2,695,283B) 0x176AA3: _M_replace_aux (basic_string.tcc:468)
| | ->25.18% (2,695,283B) 0x176AA3: append (basic_string.h:1499)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.tcc:405)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.h:1119)
| | ->25.18% (2,695,283B) 0x176AA3: compressionLZ4::compress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:18)
| | ->25.18% (2,695,283B) 0x13017F: std::basic_string_view<char, std::char_traits<char> > compressEncrypt<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, int) (EncryptorTemplates.h:31)
| | ->25.18% (2,695,283B) 0x12FCC6: TaskBuilder::compressEncryptSubtask(bool) (client_src/TaskBuilder.cpp:93)
| | ->25.18% (2,695,283B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | ->25.18% (2,695,283B) 0x12F5F2: TaskBuilder::run() (???:25)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | ->25.18% (2,695,283B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (std_thread.h:308)
| | ->25.18% (2,695,283B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | ->25.18% (2,695,283B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | ->25.18% (2,695,283B) 0x52707F0: start_thread (pthread_create.c:448)
| | ->25.18% (2,695,283B) 0x5301943: clone (clone.S:100)
| |
| ->14.63% (1,565,575B) 0x12D1A7: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:548)
| | ->14.63% (1,565,382B) 0x12FD6B: assign (basic_string.h:1678)
| | | ->14.63% (1,565,382B) 0x12FD6B: assign<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1790)
| | | ->14.63% (1,565,382B) 0x12FD6B: TaskBuilder::compressEncryptSubtask(bool) (???:98)
| | | ->14.63% (1,565,382B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | | ->14.63% (1,565,382B) 0x12F5F2: TaskBuilder::run() (???:25)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | | ->14.63% (1,565,382B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (std_thread.h:308)
| | | ->14.63% (1,565,382B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | | ->14.63% (1,565,382B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | | ->14.63% (1,565,382B) 0x52707F0: start_thread (pthread_create.c:448)
| | | ->14.63% (1,565,382B) 0x5301943: clone (clone.S:100)
| | |
| | ->00.00% (193B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.38% (147,711B) 0x176D1E: _M_replace_aux (basic_string.tcc:468)
| | ->01.38% (147,711B) 0x176D1E: append (basic_string.h:1499)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.tcc:405)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.h:1119)
| | ->01.38% (147,711B) 0x176D1E: compressionLZ4::uncompress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:34)
| | ->01.38% (147,711B) 0x125CCA: std::basic_string_view<char, std::char_traits<char> > decryptDecompress<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (EncryptorTemplates.h:73)
| | ->01.38% (147,711B) 0x12387E: Client::printReply() (client_src/Client.cpp:80)
| | ->01.38% (147,711B) 0x12DBA4: fifo::FifoClient::receive() (client_src/FifoClient.cpp:78)
| | ->01.38% (147,711B) 0x12341F: Client::processTask(std::weak_ptr<TaskBuilder>) (client_src/Client.cpp:45)
| | ->01.38% (147,711B) 0x12362F: Client::run() (client_src/Client.cpp:57)
| | ->01.38% (147,711B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.75% (80,001B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.99% (212,711B) in 59 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
4 2,079,148,076 10,702,640 10,701,283 1,357 0
5 2,918,557,353 10,702,640 10,701,283 1,357 0
6 4,161,870,655 10,702,568 10,701,219 1,349 0
7 4,917,126,596 10,702,640 10,701,283 1,357 0
8 6,042,461,951 10,694,040 10,692,677 1,363 0
9 7,241,640,915 10,703,104 10,701,732 1,372 0
10 8,041,092,488 10,703,104 10,701,732 1,372 0
11 9,240,261,500 10,703,640 10,702,245 1,395 0
12 10,039,720,617 10,703,104 10,701,732 1,372 0
13 10,639,342,281 10,703,640 10,702,245 1,395 0
14 11,838,488,059 10,694,368 10,693,027 1,341 0
15 13,037,649,602 10,703,104 10,701,732 1,372 0
16 13,877,050,051 10,702,472 10,701,170 1,302 0
17 14,596,557,385 10,703,640 10,702,245 1,395 0
99.99% (10,702,245B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->56.07% (6,001,028B) 0x12530A: allocate (new_allocator.h:151)
| ->56.07% (6,001,028B) 0x12530A: allocate (allocator.h:196)
| ->56.07% (6,001,028B) 0x12530A: allocate (alloc_traits.h:515)
| ->56.07% (6,001,028B) 0x12530A: _S_allocate (basic_string.h:131)
| ->56.07% (6,001,028B) 0x12530A: _M_create (basic_string.tcc:159)
| ->56.07% (6,001,028B) 0x12530A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) (basic_string.tcc:315)
| ->28.03% (3,000,001B) 0x122CD0: Client::Client() (client_src/Client.cpp:20)
| | ->28.03% (3,000,001B) 0x12D290: fifo::FifoClient::FifoClient() (client_src/FifoClient.cpp:22)
| | ->28.03% (3,000,001B) 0x12AA2B: main (client_src/ClientMain.cpp:41)
| |
| ->28.03% (3,000,001B) 0x12F45D: TaskBuilder::TaskBuilder(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&) (client_src/TaskBuilder.cpp:16)
| | ->28.03% (3,000,001B) 0x124468: _Construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (stl_construct.h:119)
| | ->28.03% (3,000,001B) 0x124468: construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (alloc_traits.h:706)
| | ->28.03% (3,000,001B) 0x124468: _Sp_counted_ptr_inplace<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:607)
| | ->28.03% (3,000,001B) 0x124468: __shared_count<TaskBuilder, std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:970)
| | ->28.03% (3,000,001B) 0x124468: __shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:1713)
| | ->28.03% (3,000,001B) 0x124468: shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:463)
| | ->28.03% (3,000,001B) 0x124468: make_shared<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:1007)
| | ->28.03% (3,000,001B) 0x124468: Client::start() (???:92)
| | ->28.03% (3,000,001B) 0x12D648: fifo::FifoClient::run() (client_src/FifoClient.cpp:44)
| | ->28.03% (3,000,001B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.01% (1,026B) in 1+ places, all below ms_print's threshold (01.00%)
|
->41.93% (4,488,570B) 0x12C113: allocate (new_allocator.h:151)
| ->41.93% (4,488,570B) 0x12C113: allocate (allocator.h:196)
| ->41.93% (4,488,570B) 0x12C113: allocate (alloc_traits.h:515)
| ->41.93% (4,488,570B) 0x12C113: _S_allocate (basic_string.h:131)
| ->41.93% (4,488,570B) 0x12C113: _M_create (basic_string.tcc:159)
| ->41.93% (4,488,570B) 0x12C113: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:332)
| ->25.18% (2,695,283B) 0x176AA3: _M_replace_aux (basic_string.tcc:468)
| | ->25.18% (2,695,283B) 0x176AA3: append (basic_string.h:1499)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.tcc:405)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.h:1119)
| | ->25.18% (2,695,283B) 0x176AA3: compressionLZ4::compress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:18)
| | ->25.18% (2,695,283B) 0x13017F: std::basic_string_view<char, std::char_traits<char> > compressEncrypt<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, int) (EncryptorTemplates.h:31)
| | ->25.18% (2,695,283B) 0x12FCC6: TaskBuilder::compressEncryptSubtask(bool) (client_src/TaskBuilder.cpp:93)
| | ->25.18% (2,695,283B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | ->25.18% (2,695,283B) 0x12F5F2: TaskBuilder::run() (???:25)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | ->25.18% (2,695,283B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (std_thread.h:308)
| | ->25.18% (2,695,283B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | ->25.18% (2,695,283B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | ->25.18% (2,695,283B) 0x52707F0: start_thread (pthread_create.c:448)
| | ->25.18% (2,695,283B) 0x5301943: clone (clone.S:100)
| |
| ->14.63% (1,565,575B) 0x12D1A7: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:548)
| | ->14.62% (1,565,382B) 0x12FD6B: assign (basic_string.h:1678)
| | | ->14.62% (1,565,382B) 0x12FD6B: assign<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1790)
| | | ->14.62% (1,565,382B) 0x12FD6B: TaskBuilder::compressEncryptSubtask(bool) (???:98)
| | | ->14.62% (1,565,382B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | | ->14.62% (1,565,382B) 0x12F5F2: TaskBuilder::run() (???:25)
| | | ->14.62% (1,565,382B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | | ->14.62% (1,565,382B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | | ->14.62% (1,565,382B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | | ->14.62% (1,565,382B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | | ->14.62% (1,565,382B) 0x1942C6: operator() (std_thread.h:308)
| | | ->14.62% (1,565,382B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | | ->14.62% (1,565,382B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | | ->14.62% (1,565,382B) 0x52707F0: start_thread (pthread_create.c:448)
| | | ->14.62% (1,565,382B) 0x5301943: clone (clone.S:100)
| | |
| | ->00.00% (193B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.38% (147,711B) 0x176D1E: _M_replace_aux (basic_string.tcc:468)
| | ->01.38% (147,711B) 0x176D1E: append (basic_string.h:1499)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.tcc:405)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.h:1119)
| | ->01.38% (147,711B) 0x176D1E: compressionLZ4::uncompress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:34)
| | ->01.38% (147,711B) 0x125CCA: std::basic_string_view<char, std::char_traits<char> > decryptDecompress<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (EncryptorTemplates.h:73)
| | ->01.38% (147,711B) 0x12387E: Client::printReply() (client_src/Client.cpp:80)
| | ->01.38% (147,711B) 0x12DBA4: fifo::FifoClient::receive() (client_src/FifoClient.cpp:78)
| | ->01.38% (147,711B) 0x12341F: Client::processTask(std::weak_ptr<TaskBuilder>) (client_src/Client.cpp:45)
| | ->01.38% (147,711B) 0x12362F: Client::run() (client_src/Client.cpp:57)
| | ->01.38% (147,711B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.75% (80,001B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.99% (212,647B) in 59 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
18 15,435,962,756 10,694,040 10,692,677 1,363 0
19 16,390,279,473 10,702,640 10,701,283 1,357 0
20 17,034,832,460 10,703,104 10,701,732 1,372 0
21 18,192,123,264 10,702,568 10,701,219 1,349 0
22 19,347,117,932 10,702,640 10,701,283 1,357 0
23 19,990,894,076 10,702,568 10,701,219 1,349 0
24 20,826,082,668 10,702,640 10,701,283 1,357 0
25 21,951,442,221 10,703,104 10,701,732 1,372 0
26 23,110,612,610 10,703,104 10,701,732 1,372 0
27 24,267,913,147 10,702,568 10,701,219 1,349 0
28 24,903,244,779 10,702,640 10,701,283 1,357 0
29 25,542,787,184 10,702,640 10,701,283 1,357 0
30 26,502,161,666 10,702,640 10,701,283 1,357 0
31 27,142,830,756 10,702,640 10,701,283 1,357 0
32 27,781,280,886 10,702,640 10,701,283 1,357 0
33 28,420,824,257 10,702,640 10,701,283 1,357 0
34 29,060,389,997 10,702,640 10,701,283 1,357 0
35 30,019,703,413 10,702,640 10,701,283 1,357 0
99.99% (10,701,283B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->56.06% (6,000,002B) 0x12530A: allocate (new_allocator.h:151)
| ->56.06% (6,000,002B) 0x12530A: allocate (allocator.h:196)
| ->56.06% (6,000,002B) 0x12530A: allocate (alloc_traits.h:515)
| ->56.06% (6,000,002B) 0x12530A: _S_allocate (basic_string.h:131)
| ->56.06% (6,000,002B) 0x12530A: _M_create (basic_string.tcc:159)
| ->56.06% (6,000,002B) 0x12530A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) (basic_string.tcc:315)
| ->28.03% (3,000,001B) 0x122CD0: Client::Client() (client_src/Client.cpp:20)
| | ->28.03% (3,000,001B) 0x12D290: fifo::FifoClient::FifoClient() (client_src/FifoClient.cpp:22)
| | ->28.03% (3,000,001B) 0x12AA2B: main (client_src/ClientMain.cpp:41)
| |
| ->28.03% (3,000,001B) 0x12F45D: TaskBuilder::TaskBuilder(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&) (client_src/TaskBuilder.cpp:16)
| | ->28.03% (3,000,001B) 0x124468: _Construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (stl_construct.h:119)
| | ->28.03% (3,000,001B) 0x124468: construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (alloc_traits.h:706)
| | ->28.03% (3,000,001B) 0x124468: _Sp_counted_ptr_inplace<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:607)
| | ->28.03% (3,000,001B) 0x124468: __shared_count<TaskBuilder, std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:970)
| | ->28.03% (3,000,001B) 0x124468: __shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:1713)
| | ->28.03% (3,000,001B) 0x124468: shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:463)
| | ->28.03% (3,000,001B) 0x124468: make_shared<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:1007)
| | ->28.03% (3,000,001B) 0x124468: Client::start() (???:92)
| | ->28.03% (3,000,001B) 0x12D648: fifo::FifoClient::run() (client_src/FifoClient.cpp:44)
| | ->28.03% (3,000,001B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|
->41.94% (4,488,570B) 0x12C113: allocate (new_allocator.h:151)
| ->41.94% (4,488,570B) 0x12C113: allocate (allocator.h:196)
| ->41.94% (4,488,570B) 0x12C113: allocate (alloc_traits.h:515)
| ->41.94% (4,488,570B) 0x12C113: _S_allocate (basic_string.h:131)
| ->41.94% (4,488,570B) 0x12C113: _M_create (basic_string.tcc:159)
| ->41.94% (4,488,570B) 0x12C113: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:332)
| ->25.18% (2,695,283B) 0x176AA3: _M_replace_aux (basic_string.tcc:468)
| | ->25.18% (2,695,283B) 0x176AA3: append (basic_string.h:1499)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.tcc:405)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.h:1119)
| | ->25.18% (2,695,283B) 0x176AA3: compressionLZ4::compress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:18)
| | ->25.18% (2,695,283B) 0x13017F: std::basic_string_view<char, std::char_traits<char> > compressEncrypt<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, int) (EncryptorTemplates.h:31)
| | ->25.18% (2,695,283B) 0x12FCC6: TaskBuilder::compressEncryptSubtask(bool) (client_src/TaskBuilder.cpp:93)
| | ->25.18% (2,695,283B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | ->25.18% (2,695,283B) 0x12F5F2: TaskBuilder::run() (???:25)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | ->25.18% (2,695,283B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (std_thread.h:308)
| | ->25.18% (2,695,283B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | ->25.18% (2,695,283B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | ->25.18% (2,695,283B) 0x52707F0: start_thread (pthread_create.c:448)
| | ->25.18% (2,695,283B) 0x5301943: clone (clone.S:100)
| |
| ->14.63% (1,565,575B) 0x12D1A7: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:548)
| | ->14.63% (1,565,382B) 0x12FD6B: assign (basic_string.h:1678)
| | | ->14.63% (1,565,382B) 0x12FD6B: assign<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1790)
| | | ->14.63% (1,565,382B) 0x12FD6B: TaskBuilder::compressEncryptSubtask(bool) (???:98)
| | | ->14.63% (1,565,382B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | | ->14.63% (1,565,382B) 0x12F5F2: TaskBuilder::run() (???:25)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | | ->14.63% (1,565,382B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (std_thread.h:308)
| | | ->14.63% (1,565,382B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | | ->14.63% (1,565,382B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | | ->14.63% (1,565,382B) 0x52707F0: start_thread (pthread_create.c:448)
| | | ->14.63% (1,565,382B) 0x5301943: clone (clone.S:100)
| | |
| | ->00.00% (193B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.38% (147,711B) 0x176D1E: _M_replace_aux (basic_string.tcc:468)
| | ->01.38% (147,711B) 0x176D1E: append (basic_string.h:1499)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.tcc:405)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.h:1119)
| | ->01.38% (147,711B) 0x176D1E: compressionLZ4::uncompress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:34)
| | ->01.38% (147,711B) 0x125CCA: std::basic_string_view<char, std::char_traits<char> > decryptDecompress<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (EncryptorTemplates.h:73)
| | ->01.38% (147,711B) 0x12387E: Client::printReply() (client_src/Client.cpp:80)
| | ->01.38% (147,711B) 0x12DBA4: fifo::FifoClient::receive() (client_src/FifoClient.cpp:78)
| | ->01.38% (147,711B) 0x12341F: Client::processTask(std::weak_ptr<TaskBuilder>) (client_src/Client.cpp:45)
| | ->01.38% (147,711B) 0x12362F: Client::run() (client_src/Client.cpp:57)
| | ->01.38% (147,711B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.75% (80,001B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.99% (212,711B) in 59 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
36 30,979,016,729 10,702,640 10,701,283 1,357 0
37 31,618,558,964 10,702,640 10,701,283 1,357 0
38 32,577,873,246 10,702,640 10,701,283 1,357 0
39 33,217,415,817 10,702,640 10,701,283 1,357 0
99.99% (10,701,283B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->56.06% (6,000,002B) 0x12530A: allocate (new_allocator.h:151)
| ->56.06% (6,000,002B) 0x12530A: allocate (allocator.h:196)
| ->56.06% (6,000,002B) 0x12530A: allocate (alloc_traits.h:515)
| ->56.06% (6,000,002B) 0x12530A: _S_allocate (basic_string.h:131)
| ->56.06% (6,000,002B) 0x12530A: _M_create (basic_string.tcc:159)
| ->56.06% (6,000,002B) 0x12530A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) (basic_string.tcc:315)
| ->28.03% (3,000,001B) 0x122CD0: Client::Client() (client_src/Client.cpp:20)
| | ->28.03% (3,000,001B) 0x12D290: fifo::FifoClient::FifoClient() (client_src/FifoClient.cpp:22)
| | ->28.03% (3,000,001B) 0x12AA2B: main (client_src/ClientMain.cpp:41)
| |
| ->28.03% (3,000,001B) 0x12F45D: TaskBuilder::TaskBuilder(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&) (client_src/TaskBuilder.cpp:16)
| | ->28.03% (3,000,001B) 0x124468: _Construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (stl_construct.h:119)
| | ->28.03% (3,000,001B) 0x124468: construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (alloc_traits.h:706)
| | ->28.03% (3,000,001B) 0x124468: _Sp_counted_ptr_inplace<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:607)
| | ->28.03% (3,000,001B) 0x124468: __shared_count<TaskBuilder, std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:970)
| | ->28.03% (3,000,001B) 0x124468: __shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:1713)
| | ->28.03% (3,000,001B) 0x124468: shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:463)
| | ->28.03% (3,000,001B) 0x124468: make_shared<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:1007)
| | ->28.03% (3,000,001B) 0x124468: Client::start() (???:92)
| | ->28.03% (3,000,001B) 0x12D648: fifo::FifoClient::run() (client_src/FifoClient.cpp:44)
| | ->28.03% (3,000,001B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|
->41.94% (4,488,570B) 0x12C113: allocate (new_allocator.h:151)
| ->41.94% (4,488,570B) 0x12C113: allocate (allocator.h:196)
| ->41.94% (4,488,570B) 0x12C113: allocate (alloc_traits.h:515)
| ->41.94% (4,488,570B) 0x12C113: _S_allocate (basic_string.h:131)
| ->41.94% (4,488,570B) 0x12C113: _M_create (basic_string.tcc:159)
| ->41.94% (4,488,570B) 0x12C113: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:332)
| ->25.18% (2,695,283B) 0x176AA3: _M_replace_aux (basic_string.tcc:468)
| | ->25.18% (2,695,283B) 0x176AA3: append (basic_string.h:1499)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.tcc:405)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.h:1119)
| | ->25.18% (2,695,283B) 0x176AA3: compressionLZ4::compress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:18)
| | ->25.18% (2,695,283B) 0x13017F: std::basic_string_view<char, std::char_traits<char> > compressEncrypt<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, int) (EncryptorTemplates.h:31)
| | ->25.18% (2,695,283B) 0x12FCC6: TaskBuilder::compressEncryptSubtask(bool) (client_src/TaskBuilder.cpp:93)
| | ->25.18% (2,695,283B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | ->25.18% (2,695,283B) 0x12F5F2: TaskBuilder::run() (???:25)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | ->25.18% (2,695,283B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (std_thread.h:308)
| | ->25.18% (2,695,283B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | ->25.18% (2,695,283B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | ->25.18% (2,695,283B) 0x52707F0: start_thread (pthread_create.c:448)
| | ->25.18% (2,695,283B) 0x5301943: clone (clone.S:100)
| |
| ->14.63% (1,565,575B) 0x12D1A7: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:548)
| | ->14.63% (1,565,382B) 0x12FD6B: assign (basic_string.h:1678)
| | | ->14.63% (1,565,382B) 0x12FD6B: assign<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1790)
| | | ->14.63% (1,565,382B) 0x12FD6B: TaskBuilder::compressEncryptSubtask(bool) (???:98)
| | | ->14.63% (1,565,382B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | | ->14.63% (1,565,382B) 0x12F5F2: TaskBuilder::run() (???:25)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | | ->14.63% (1,565,382B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (std_thread.h:308)
| | | ->14.63% (1,565,382B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | | ->14.63% (1,565,382B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | | ->14.63% (1,565,382B) 0x52707F0: start_thread (pthread_create.c:448)
| | | ->14.63% (1,565,382B) 0x5301943: clone (clone.S:100)
| | |
| | ->00.00% (193B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.38% (147,711B) 0x176D1E: _M_replace_aux (basic_string.tcc:468)
| | ->01.38% (147,711B) 0x176D1E: append (basic_string.h:1499)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.tcc:405)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.h:1119)
| | ->01.38% (147,711B) 0x176D1E: compressionLZ4::uncompress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:34)
| | ->01.38% (147,711B) 0x125CCA: std::basic_string_view<char, std::char_traits<char> > decryptDecompress<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (EncryptorTemplates.h:73)
| | ->01.38% (147,711B) 0x12387E: Client::printReply() (client_src/Client.cpp:80)
| | ->01.38% (147,711B) 0x12DBA4: fifo::FifoClient::receive() (client_src/FifoClient.cpp:78)
| | ->01.38% (147,711B) 0x12341F: Client::processTask(std::weak_ptr<TaskBuilder>) (client_src/Client.cpp:45)
| | ->01.38% (147,711B) 0x12362F: Client::run() (client_src/Client.cpp:57)
| | ->01.38% (147,711B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.75% (80,001B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.99% (212,711B) in 59 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
40 33,856,981,695 10,702,640 10,701,283 1,357 0
41 34,816,295,070 10,702,640 10,701,283 1,357 0
42 35,455,837,178 10,702,640 10,701,283 1,357 0
43 36,095,379,506 10,702,640 10,701,283 1,357 0
44 36,734,921,762 10,702,640 10,701,283 1,357 0
45 37,694,246,547 10,702,640 10,701,283 1,357 0
46 38,333,822,452 10,702,640 10,701,283 1,357 0
47 38,973,378,083 10,702,640 10,701,283 1,357 0
48 39,612,920,447 10,702,640 10,701,283 1,357 0
99.99% (10,701,283B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->56.06% (6,000,002B) 0x12530A: allocate (new_allocator.h:151)
| ->56.06% (6,000,002B) 0x12530A: allocate (allocator.h:196)
| ->56.06% (6,000,002B) 0x12530A: allocate (alloc_traits.h:515)
| ->56.06% (6,000,002B) 0x12530A: _S_allocate (basic_string.h:131)
| ->56.06% (6,000,002B) 0x12530A: _M_create (basic_string.tcc:159)
| ->56.06% (6,000,002B) 0x12530A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) (basic_string.tcc:315)
| ->28.03% (3,000,001B) 0x122CD0: Client::Client() (client_src/Client.cpp:20)
| | ->28.03% (3,000,001B) 0x12D290: fifo::FifoClient::FifoClient() (client_src/FifoClient.cpp:22)
| | ->28.03% (3,000,001B) 0x12AA2B: main (client_src/ClientMain.cpp:41)
| |
| ->28.03% (3,000,001B) 0x12F45D: TaskBuilder::TaskBuilder(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&) (client_src/TaskBuilder.cpp:16)
| | ->28.03% (3,000,001B) 0x124468: _Construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (stl_construct.h:119)
| | ->28.03% (3,000,001B) 0x124468: construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (alloc_traits.h:706)
| | ->28.03% (3,000,001B) 0x124468: _Sp_counted_ptr_inplace<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:607)
| | ->28.03% (3,000,001B) 0x124468: __shared_count<TaskBuilder, std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:970)
| | ->28.03% (3,000,001B) 0x124468: __shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:1713)
| | ->28.03% (3,000,001B) 0x124468: shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:463)
| | ->28.03% (3,000,001B) 0x124468: make_shared<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:1007)
| | ->28.03% (3,000,001B) 0x124468: Client::start() (???:92)
| | ->28.03% (3,000,001B) 0x12D648: fifo::FifoClient::run() (client_src/FifoClient.cpp:44)
| | ->28.03% (3,000,001B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|
->41.94% (4,488,570B) 0x12C113: allocate (new_allocator.h:151)
| ->41.94% (4,488,570B) 0x12C113: allocate (allocator.h:196)
| ->41.94% (4,488,570B) 0x12C113: allocate (alloc_traits.h:515)
| ->41.94% (4,488,570B) 0x12C113: _S_allocate (basic_string.h:131)
| ->41.94% (4,488,570B) 0x12C113: _M_create (basic_string.tcc:159)
| ->41.94% (4,488,570B) 0x12C113: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:332)
| ->25.18% (2,695,283B) 0x176AA3: _M_replace_aux (basic_string.tcc:468)
| | ->25.18% (2,695,283B) 0x176AA3: append (basic_string.h:1499)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.tcc:405)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.h:1119)
| | ->25.18% (2,695,283B) 0x176AA3: compressionLZ4::compress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:18)
| | ->25.18% (2,695,283B) 0x13017F: std::basic_string_view<char, std::char_traits<char> > compressEncrypt<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, int) (EncryptorTemplates.h:31)
| | ->25.18% (2,695,283B) 0x12FCC6: TaskBuilder::compressEncryptSubtask(bool) (client_src/TaskBuilder.cpp:93)
| | ->25.18% (2,695,283B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | ->25.18% (2,695,283B) 0x12F5F2: TaskBuilder::run() (???:25)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | ->25.18% (2,695,283B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (std_thread.h:308)
| | ->25.18% (2,695,283B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | ->25.18% (2,695,283B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | ->25.18% (2,695,283B) 0x52707F0: start_thread (pthread_create.c:448)
| | ->25.18% (2,695,283B) 0x5301943: clone (clone.S:100)
| |
| ->14.63% (1,565,575B) 0x12D1A7: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:548)
| | ->14.63% (1,565,382B) 0x12FD6B: assign (basic_string.h:1678)
| | | ->14.63% (1,565,382B) 0x12FD6B: assign<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1790)
| | | ->14.63% (1,565,382B) 0x12FD6B: TaskBuilder::compressEncryptSubtask(bool) (???:98)
| | | ->14.63% (1,565,382B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | | ->14.63% (1,565,382B) 0x12F5F2: TaskBuilder::run() (???:25)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | | ->14.63% (1,565,382B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (std_thread.h:308)
| | | ->14.63% (1,565,382B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | | ->14.63% (1,565,382B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | | ->14.63% (1,565,382B) 0x52707F0: start_thread (pthread_create.c:448)
| | | ->14.63% (1,565,382B) 0x5301943: clone (clone.S:100)
| | |
| | ->00.00% (193B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.38% (147,711B) 0x176D1E: _M_replace_aux (basic_string.tcc:468)
| | ->01.38% (147,711B) 0x176D1E: append (basic_string.h:1499)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.tcc:405)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.h:1119)
| | ->01.38% (147,711B) 0x176D1E: compressionLZ4::uncompress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:34)
| | ->01.38% (147,711B) 0x125CCA: std::basic_string_view<char, std::char_traits<char> > decryptDecompress<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (EncryptorTemplates.h:73)
| | ->01.38% (147,711B) 0x12387E: Client::printReply() (client_src/Client.cpp:80)
| | ->01.38% (147,711B) 0x12DBA4: fifo::FifoClient::receive() (client_src/FifoClient.cpp:78)
| | ->01.38% (147,711B) 0x12341F: Client::processTask(std::weak_ptr<TaskBuilder>) (client_src/Client.cpp:45)
| | ->01.38% (147,711B) 0x12362F: Client::run() (client_src/Client.cpp:57)
| | ->01.38% (147,711B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.75% (80,001B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.99% (212,711B) in 59 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
49 40,252,509,539 10,702,640 10,701,283 1,357 0
50 40,772,161,011 10,702,640 10,701,283 1,357 0
51 41,291,789,256 10,702,640 10,701,283 1,357 0
52 41,811,440,696 10,702,640 10,701,283 1,357 0
53 42,331,068,564 10,702,640 10,701,283 1,357 0
54 42,850,696,560 10,702,640 10,701,283 1,357 0
55 43,370,348,353 10,702,640 10,701,283 1,357 0
56 43,889,999,892 10,702,640 10,701,283 1,357 0
57 44,409,627,784 10,702,640 10,701,283 1,357 0
99.99% (10,701,283B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->56.06% (6,000,002B) 0x12530A: allocate (new_allocator.h:151)
| ->56.06% (6,000,002B) 0x12530A: allocate (allocator.h:196)
| ->56.06% (6,000,002B) 0x12530A: allocate (alloc_traits.h:515)
| ->56.06% (6,000,002B) 0x12530A: _S_allocate (basic_string.h:131)
| ->56.06% (6,000,002B) 0x12530A: _M_create (basic_string.tcc:159)
| ->56.06% (6,000,002B) 0x12530A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) (basic_string.tcc:315)
| ->28.03% (3,000,001B) 0x122CD0: Client::Client() (client_src/Client.cpp:20)
| | ->28.03% (3,000,001B) 0x12D290: fifo::FifoClient::FifoClient() (client_src/FifoClient.cpp:22)
| | ->28.03% (3,000,001B) 0x12AA2B: main (client_src/ClientMain.cpp:41)
| |
| ->28.03% (3,000,001B) 0x12F45D: TaskBuilder::TaskBuilder(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&) (client_src/TaskBuilder.cpp:16)
| | ->28.03% (3,000,001B) 0x124468: _Construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (stl_construct.h:119)
| | ->28.03% (3,000,001B) 0x124468: construct<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (alloc_traits.h:706)
| | ->28.03% (3,000,001B) 0x124468: _Sp_counted_ptr_inplace<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:607)
| | ->28.03% (3,000,001B) 0x124468: __shared_count<TaskBuilder, std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:970)
| | ->28.03% (3,000,001B) 0x124468: __shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr_base.h:1713)
| | ->28.03% (3,000,001B) 0x124468: shared_ptr<std::allocator<void>, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:463)
| | ->28.03% (3,000,001B) 0x124468: make_shared<TaskBuilder, std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > &> (shared_ptr.h:1007)
| | ->28.03% (3,000,001B) 0x124468: Client::start() (???:92)
| | ->28.03% (3,000,001B) 0x12D648: fifo::FifoClient::run() (client_src/FifoClient.cpp:44)
| | ->28.03% (3,000,001B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|
->41.94% (4,488,570B) 0x12C113: allocate (new_allocator.h:151)
| ->41.94% (4,488,570B) 0x12C113: allocate (allocator.h:196)
| ->41.94% (4,488,570B) 0x12C113: allocate (alloc_traits.h:515)
| ->41.94% (4,488,570B) 0x12C113: _S_allocate (basic_string.h:131)
| ->41.94% (4,488,570B) 0x12C113: _M_create (basic_string.tcc:159)
| ->41.94% (4,488,570B) 0x12C113: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:332)
| ->25.18% (2,695,283B) 0x176AA3: _M_replace_aux (basic_string.tcc:468)
| | ->25.18% (2,695,283B) 0x176AA3: append (basic_string.h:1499)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.tcc:405)
| | ->25.18% (2,695,283B) 0x176AA3: resize (basic_string.h:1119)
| | ->25.18% (2,695,283B) 0x176AA3: compressionLZ4::compress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:18)
| | ->25.18% (2,695,283B) 0x13017F: std::basic_string_view<char, std::char_traits<char> > compressEncrypt<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, int) (EncryptorTemplates.h:31)
| | ->25.18% (2,695,283B) 0x12FCC6: TaskBuilder::compressEncryptSubtask(bool) (client_src/TaskBuilder.cpp:93)
| | ->25.18% (2,695,283B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | ->25.18% (2,695,283B) 0x12F5F2: TaskBuilder::run() (???:25)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | ->25.18% (2,695,283B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | ->25.18% (2,695,283B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | ->25.18% (2,695,283B) 0x1942C6: operator() (std_thread.h:308)
| | ->25.18% (2,695,283B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | ->25.18% (2,695,283B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | ->25.18% (2,695,283B) 0x52707F0: start_thread (pthread_create.c:448)
| | ->25.18% (2,695,283B) 0x5301943: clone (clone.S:100)
| |
| ->14.63% (1,565,575B) 0x12D1A7: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:548)
| | ->14.63% (1,565,382B) 0x12FD6B: assign (basic_string.h:1678)
| | | ->14.63% (1,565,382B) 0x12FD6B: assign<std::basic_string_view<char, std::char_traits<char> > > (basic_string.h:1790)
| | | ->14.63% (1,565,382B) 0x12FD6B: TaskBuilder::compressEncryptSubtask(bool) (???:98)
| | | ->14.63% (1,565,382B) 0x12F5F2: createSubtask (client_src/TaskBuilder.cpp:73)
| | | ->14.63% (1,565,382B) 0x12F5F2: TaskBuilder::run() (???:25)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (common/ThreadPoolBase.cpp:69)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke_impl<void, (lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:61)
| | | ->14.63% (1,565,382B) 0x1942C6: __invoke<(lambda at common/ThreadPoolBase.cpp:55:25)> (invoke.h:96)
| | | ->14.63% (1,565,382B) 0x1942C6: _M_invoke<0UL> (std_thread.h:301)
| | | ->14.63% (1,565,382B) 0x1942C6: operator() (std_thread.h:308)
| | | ->14.63% (1,565,382B) 0x1942C6: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPoolBase::createThread()::$_0> > >::_M_run() (std_thread.h:253)
| | | ->14.63% (1,565,382B) 0x4F0F323: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.34)
| | | ->14.63% (1,565,382B) 0x52707F0: start_thread (pthread_create.c:448)
| | | ->14.63% (1,565,382B) 0x5301943: clone (clone.S:100)
| | |
| | ->00.00% (193B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.38% (147,711B) 0x176D1E: _M_replace_aux (basic_string.tcc:468)
| | ->01.38% (147,711B) 0x176D1E: append (basic_string.h:1499)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.tcc:405)
| | ->01.38% (147,711B) 0x176D1E: resize (basic_string.h:1119)
| | ->01.38% (147,711B) 0x176D1E: compressionLZ4::uncompress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (???:34)
| | ->01.38% (147,711B) 0x125CCA: std::basic_string_view<char, std::char_traits<char> > decryptDecompress<std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> > >(std::variant<std::shared_ptr<CryptoPlPl>, std::shared_ptr<CryptoSodium> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::tuple<HEADERTYPE, unsigned long, unsigned long, COMPRESSORS, DIAGNOSTICS, STATUS, unsigned long>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (EncryptorTemplates.h:73)
| | ->01.38% (147,711B) 0x12387E: Client::printReply() (client_src/Client.cpp:80)
| | ->01.38% (147,711B) 0x12DBA4: fifo::FifoClient::receive() (client_src/FifoClient.cpp:78)
| | ->01.38% (147,711B) 0x12341F: Client::processTask(std::weak_ptr<TaskBuilder>) (client_src/Client.cpp:45)
| | ->01.38% (147,711B) 0x12362F: Client::run() (client_src/Client.cpp:57)
| | ->01.38% (147,711B) 0x12AA35: main (client_src/ClientMain.cpp:42)
| |
| ->00.75% (80,001B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.99% (212,711B) in 59 places, all below massif's threshold (1.00%)
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
58 44,929,256,173 10,702,640 10,701,283 1,357 0
59 45,448,884,301 10,702,640 10,701,283 1,357 0
60 45,968,512,485 10,702,640 10,701,283 1,357 0
61 46,488,163,997 10,702,640 10,701,283 1,357 0
62 47,007,813,496 10,702,640 10,701,283 1,357 0
63 47,527,431,495 10,702,640 10,701,283 1,357 0
64 48,047,059,691 10,702,640 10,701,283 1,357 0