Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------------------------------------------------------------
- Command: ./test
- Massif arguments: (none)
- ms_print arguments: massif.out.9647
- --------------------------------------------------------------------------------
- MB
- 51.02^ #
- | ::#:
- | @:::#:
- | :::@:::#::
- | @::::@:::#:::
- | ::::@::::@:::#:::
- | @:::::@::::@:::#::::
- | ::@:::::@::::@:::#:::::
- | :::::@:::::@::::@:::#::::@
- | ::::::::@:::::@::::@:::#::::@:
- | ::::::::::@:::::@::::@:::#::::@::
- | :@:::::::::::@:::::@::::@:::#::::@::
- | ::::@:::::::::::@:::::@::::@:::#::::@:::
- | @:::::@:::::::::::@:::::@::::@:::#::::@:::
- | :::@:::::@:::::::::::@:::::@::::@:::#::::@::::
- | @::::@:::::@:::::::::::@:::::@::::@:::#::::@:::::
- | :::@::::@:::::@:::::::::::@:::::@::::@:::#::::@::::@
- | ::::::@::::@:::::@:::::::::::@:::::@::::@:::#::::@::::@:
- | :::::::@::::@:::::@:::::::::::@:::::@::::@:::#::::@::::@:
- | :::::::@::::@:::::@:::::::::::@:::::@::::@:::#::::@::::@:
- 0 +----------------------------------------------------------------------->Mi
- 0 275.6
- Number of snapshots: 92
- Detailed snapshots: [10, 16, 24, 40, 49, 59, 69 (peak), 79, 89]
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 0 0 0 0 0 0
- 1 61,439,482 8,000,024 8,000,008 16 0
- 2 65,444,572 8,000,064 8,000,040 24 0
- 3 68,202,440 8,700,728 8,476,478 224,250 0
- 4 71,654,374 9,576,616 9,072,305 504,311 0
- 5 74,437,286 10,282,976 9,552,464 730,512 0
- 6 78,661,927 11,355,800 10,282,514 1,073,286 0
- 7 82,127,462 12,232,960 10,879,443 1,353,517 0
- 8 86,549,344 13,354,296 11,642,153 1,712,143 0
- 9 88,760,209 13,913,576 12,022,746 1,890,830 0
- 10 91,707,984 14,661,000 12,530,783 2,130,217 0
- 85.47% (12,530,783B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->54.57% (8,000,008B) 0x400A7C: main (test.cpp:41)
- |
- ->30.90% (4,530,775B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->30.90% (4,530,775B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->30.90% (4,530,775B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->30.90% (4,530,775B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->30.90% (4,530,775B) 0x400ACD: main (basic_string.h:749)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 11 95,892,867 15,722,968 13,252,743 2,470,225 0
- 12 98,917,234 16,491,656 13,774,966 2,716,690 0
- 13 101,509,295 17,149,752 14,223,042 2,926,710 0
- 14 104,965,908 18,025,168 14,818,358 3,206,810 0
- 15 108,422,575 18,902,528 15,414,876 3,487,652 0
- 16 111,447,185 19,670,504 15,937,172 3,733,332 0
- 81.02% (15,937,172B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->40.67% (8,000,008B) 0x400A7C: main (test.cpp:41)
- |
- ->40.35% (7,937,164B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->40.35% (7,937,164B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->40.35% (7,937,164B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->40.35% (7,937,164B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->40.35% (7,937,164B) 0x400ACD: main (basic_string.h:749)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 17 114,471,515 20,438,584 16,459,199 3,979,385 0
- 18 118,451,340 21,449,840 17,146,978 4,302,862 0
- 19 121,135,119 22,132,296 17,610,674 4,521,622 0
- 20 123,818,997 22,813,008 18,073,595 4,739,413 0
- 21 127,844,566 23,834,680 18,768,652 5,066,028 0
- 22 129,857,451 24,345,528 19,116,114 5,229,414 0
- 23 133,212,104 25,197,096 19,695,254 5,501,842 0
- 24 135,895,735 25,878,288 20,158,569 5,719,719 0
- 77.90% (20,158,569B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->46.98% (12,158,561B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->46.98% (12,158,561B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->46.98% (12,158,561B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->46.98% (12,158,561B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->46.98% (12,158,561B) 0x400ACD: main (basic_string.h:749)
- |
- ->30.91% (8,000,008B) 0x400A7C: main (test.cpp:41)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 25 139,250,360 26,730,608 20,738,083 5,992,525 0
- 26 141,934,135 27,412,400 21,201,579 6,210,821 0
- 27 145,288,893 28,262,912 21,779,919 6,482,993 0
- 28 147,301,778 28,772,520 22,126,566 6,645,954 0
- 29 150,423,107 29,563,864 22,664,786 6,899,078 0
- 30 152,640,045 30,127,560 23,048,046 7,079,514 0
- 31 154,857,039 30,691,360 23,430,925 7,260,435 0
- 32 158,182,456 31,534,136 24,004,007 7,530,129 0
- 33 161,507,968 32,376,416 24,576,842 7,799,574 0
- 34 163,724,951 32,938,816 24,959,537 7,979,279 0
- 35 167,050,387 33,782,840 25,533,354 8,249,486 0
- 36 169,267,488 34,344,576 25,916,050 8,428,526 0
- 37 173,701,301 35,470,200 26,681,366 8,788,834 0
- 38 175,918,212 36,032,136 27,064,050 8,968,086 0
- 39 180,351,961 37,159,648 27,830,437 9,329,211 0
- 40 182,569,053 37,723,368 28,213,664 9,509,704 0
- 74.79% (28,213,664B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->53.58% (20,213,656B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->53.58% (20,213,656B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->53.58% (20,213,656B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->53.58% (20,213,656B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->53.58% (20,213,656B) 0x400ACD: main (basic_string.h:749)
- |
- ->21.21% (8,000,008B) 0x400A7C: main (test.cpp:41)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 41 184,786,036 38,284,872 28,595,913 9,688,959 0
- 42 187,003,152 38,848,192 28,978,827 9,869,365 0
- 43 189,219,982 39,410,872 29,361,583 10,049,289 0
- 44 192,545,346 40,255,560 29,936,021 10,319,539 0
- 45 194,762,427 40,817,976 30,318,536 10,499,440 0
- 46 196,979,512 41,379,208 30,700,725 10,678,483 0
- 47 199,196,452 41,941,312 31,083,251 10,858,061 0
- 48 202,521,883 42,785,960 31,657,254 11,128,706 0
- 49 204,738,846 43,349,112 32,039,902 11,309,210 0
- 73.91% (32,039,902B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->55.46% (24,039,894B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->55.46% (24,039,894B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->55.46% (24,039,894B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->55.46% (24,039,894B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->55.46% (24,039,894B) 0x400ACD: main (basic_string.h:749)
- |
- ->18.45% (8,000,008B) 0x400A7C: main (test.cpp:41)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 50 206,751,780 43,859,776 32,387,589 11,472,187 0
- 51 208,764,724 44,370,960 32,735,104 11,635,856 0
- 52 210,777,625 44,881,440 33,082,432 11,799,008 0
- 53 212,790,677 45,392,728 33,429,948 11,962,780 0
- 54 214,803,712 45,904,392 33,777,599 12,126,793 0
- 55 216,816,623 46,415,144 34,124,897 12,290,247 0
- 56 218,829,517 46,925,920 34,471,948 12,453,972 0
- 57 220,842,556 47,436,664 34,819,101 12,617,563 0
- 58 222,855,480 47,946,608 35,166,376 12,780,232 0
- 59 224,868,416 48,456,656 35,513,361 12,943,295 0
- 73.29% (35,513,361B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->56.78% (27,513,353B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->56.78% (27,513,353B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->56.78% (27,513,353B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->56.78% (27,513,353B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->56.78% (27,513,353B) 0x400ACD: main (basic_string.h:749)
- |
- ->16.51% (8,000,008B) 0x400A7C: main (test.cpp:41)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 60 226,881,359 48,967,880 35,860,859 13,107,021 0
- 61 228,894,431 49,477,968 36,207,613 13,270,355 0
- 62 230,907,450 49,989,352 36,555,072 13,434,280 0
- 63 232,920,461 50,500,488 36,902,478 13,598,010 0
- 64 234,933,536 51,012,960 37,250,656 13,762,304 0
- 65 236,946,579 51,524,784 37,598,724 13,926,060 0
- 66 238,959,540 52,036,552 37,946,540 14,090,012 0
- 67 240,972,462 52,547,032 38,293,888 14,253,144 0
- 68 242,985,504 53,057,632 38,641,177 14,416,455 0
- 69 244,721,794 53,499,040 38,940,768 14,558,272 0
- 72.79% (38,940,768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->57.83% (30,940,760B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->57.83% (30,940,760B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->57.83% (30,940,760B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->57.83% (30,940,760B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->57.83% (30,940,760B) 0x400ACD: main (basic_string.h:749)
- |
- ->14.95% (8,000,008B) 0x400A7C: main (test.cpp:41)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 70 246,734,698 51,445,496 37,544,771 13,900,725 0
- 71 248,747,628 49,391,312 36,148,457 13,242,855 0
- 72 250,760,518 47,341,336 34,754,209 12,587,127 0
- 73 252,773,423 45,288,744 33,359,074 11,929,670 0
- 74 254,786,331 43,236,144 31,963,182 11,272,962 0
- 75 256,799,220 41,184,312 30,567,969 10,616,343 0
- 76 258,812,113 39,132,176 29,172,014 9,960,162 0
- 77 260,825,027 37,079,816 27,776,304 9,303,512 0
- 78 262,837,955 35,026,144 26,379,381 8,646,763 0
- 79 264,850,845 32,974,784 24,984,019 7,990,765 0
- 75.77% (24,984,019B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->51.51% (16,984,011B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->51.51% (16,984,011B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->51.51% (16,984,011B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->51.51% (16,984,011B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- | ->51.51% (16,984,011B) 0x400ACD: main (basic_string.h:749)
- |
- ->24.26% (8,000,008B) 0x400A7C: main (test.cpp:41)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 80 266,863,750 30,926,072 23,590,348 7,335,724 0
- 81 268,876,645 28,872,280 22,194,315 6,677,965 0
- 82 270,889,531 26,822,792 20,800,754 6,022,038 0
- 83 272,902,454 24,769,232 19,404,208 5,365,024 0
- 84 274,915,376 22,716,296 18,007,808 4,708,488 0
- 85 276,928,306 20,661,960 16,611,301 4,050,659 0
- 86 278,941,210 18,609,272 15,215,689 3,393,583 0
- 87 280,954,138 16,558,832 13,820,632 2,738,200 0
- 88 282,967,039 14,505,760 12,425,242 2,080,518 0
- 89 284,979,930 12,458,160 11,032,579 1,425,581 0
- 88.56% (11,032,579B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
- ->64.22% (8,000,008B) 0x400A7C: main (test.cpp:41)
- |
- ->24.34% (3,032,571B) 0x4ECD057: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->24.34% (3,032,571B) 0x4ECDDC9: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->24.34% (3,032,571B) 0x4ECDEAE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->24.34% (3,032,571B) 0x4ECE00D: std::string::append(unsigned long, char) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
- ->24.34% (3,032,571B) 0x400ACD: main (basic_string.h:749)
- --------------------------------------------------------------------------------
- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
- --------------------------------------------------------------------------------
- 90 286,992,843 10,407,872 9,637,372 770,500 0
- 91 289,005,760 8,353,728 8,240,448 113,280 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement