Changes

Jump to: navigation, search

Unique Project Page

7,960 bytes added, 13:21, 24 February 2017
Profiling Data and Screenshots
=== Profiling Data and Screenshots ===
 
{| class="wikitable mw-collapsible collapsed"
! NBody Hot Spot Data
|-
| Call graph (explanation follows)
 
 
granularity: each sample hit covers 4 byte(s) for 0.16% of 6.18 seconds
 
index % time self children called name
<spontaneous>
[1] 99.7 0.00 6.16 main [1]
0.00 6.15 1/1 dowork(double) [3]
0.00 0.01 1/1 totalL() [14]
0.00 0.00 1/1 totalE() [16]
0.00 0.00 1/1 initialize() [17]
0.00 0.00 28/32712799 vect::operator-(vect const&) [8]
0.00 0.00 14/118268959 vect::operator*(double const&) [5]
0.00 0.00 14/5032775 vect::operator=(vect const&) [11]
0.00 0.00 42/42 std::vector<int, std::allocator<int> >::operator[](unsigned int) [22]
0.00 0.00 16/16 bool std::operator==<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) [33]
0.00 0.00 15/35 std::vector<int, std::allocator<int> >::size() const [23]
0.00 0.00 14/14 std::vector<int, std::allocator<int> >::push_back(int const&) [39]
0.00 0.00 14/14 getobj(int) [36]
0.00 0.00 3/3 std::vector<double, std::allocator<double> >::operator[](unsigned int) [90]
0.00 0.00 2/2 print_hline() [94]
0.00 0.00 2/10 std::vector<double, std::allocator<double> >::size() const [45]
0.00 0.00 1/1 std::ios_base::precision(int) [146]
0.00 0.00 1/1 std::vector<double, std::allocator<double> >::vector() [142]
0.00 0.00 1/1 std::vector<int, std::allocator<int> >::vector() [144]
0.00 0.00 1/1 std::vector<double, std::allocator<double> >::push_back(double const&) [141]
0.00 0.00 1/1 std::vector<std::string, std::allocator<std::string> >::vector() [135]
0.00 0.00 1/1 std::vector<std::string, std::allocator<std::string> >::~vector() [136]
0.00 0.00 1/1 JD(tm*) [103]
0.00 0.00 1/1 std::vector<double, std::allocator<double> >::push_back(double&&) [140]
0.00 0.00 1/1 std::vector<int, std::allocator<int> >::~vector() [145]
0.00 0.00 1/1 std::vector<double, std::allocator<double> >::~vector() [143]
-----------------------------------------------
0.14 6.01 89870/89870 dowork(double) [3]
[2] 99.6 0.14 6.01 89870 CRO_step(double, void (*)()) [2]
1.18 4.22 359480/359480 calculate_a() [4]
0.20 0.29 20130880/118268959 vect::operator*(double const&) [5]
0.12 0.00 10065440/75490814 vect::operator+=(vect const&) [7]
-----------------------------------------------
0.00 6.15 1/1 main [1]
[3] 99.6 0.00 6.15 1 dowork(double) [3]
0.14 6.01 89870/89870 CRO_step(double, void (*)()) [2]
0.00 0.00 1/1 std::abs(double) [147]
-----------------------------------------------
1.18 4.22 359480/359480 CRO_step(double, void (*)()) [2]
[4] 87.5 1.18 4.22 359480 calculate_a() [4]
1.00 1.39 98138040/118268959 vect::operator*(double const&) [5]
0.78 0.00 65425360/75490814 vect::operator+=(vect const&) [7]
0.26 0.37 32712680/32712799 vect::operator-(vect const&) [8]
0.32 0.00 32712680/32712785 vect::mag() [10]
0.08 0.00 5032720/5032775 vect::operator=(vect const&) [11]
0.01 0.00 5032720/5032775 vect::vect(double, double, double) [13]
-----------------------------------------------
0.00 0.00 11/118268959 initialize() [17]
0.00 0.00 14/118268959 main [1]
0.00 0.00 14/118268959 totalL() [14]
0.20 0.29 20130880/118268959 CRO_step(double, void (*)()) [2]
1.00 1.39 98138040/118268959 calculate_a() [4]
[5] 46.5 1.20 1.67 118268959 vect::operator*(double const&) [5]
1.67 0.00 118268959/118268959 vect::operator*=(double const&) [6]
-----------------------------------------------
1.67 0.00 118268959/118268959 vect::operator*(double const&) [5]
[6] 27.1 1.67 0.00 118268959 vect::operator*=(double const&) [6]
-----------------------------------------------
0.00 0.00 14/75490814 totalL() [14]
0.12 0.00 10065440/75490814 CRO_step(double, void (*)()) [2]
0.78 0.00 65425360/75490814 calculate_a() [4]
[7] 14.6 0.91 0.00 75490814 vect::operator+=(vect const&) [7]
-----------------------------------------------
0.00 0.00 28/32712799 main [1]
0.00 0.00 91/32712799 totalE() [16]
0.26 0.37 32712680/32712799 calculate_a() [4]
[8] 10.4 0.27 0.38 32712799 vect::operator-(vect const&) [8]
0.38 0.00 32712799/32712799 vect::operator-=(vect const&) [9]
-----------------------------------------------
0.38 0.00 32712799/32712799 vect::operator-(vect const&) [8]
[9] 6.1 0.38 0.00 32712799 vect::operator-=(vect const&) [9]
-----------------------------------------------
0.00 0.00 105/32712785 totalE() [16]
0.32 0.00 32712680/32712785 calculate_a() [4]
[10] 5.2 0.32 0.00 32712785 vect::mag() [10]
-----------------------------------------------
0.00 0.00 14/5032775 main [1]
0.00 0.00 41/5032775 initialize() [17]
0.08 0.00 5032720/5032775 calculate_a() [4]
[11] 1.4 0.08 0.00 5032775 vect::operator=(vect const&) [11]
-----------------------------------------------
<spontaneous>
[12] 0.3 0.02 0.00 vect::operator+(vect const&) [12]
-----------------------------------------------
0.00 0.00 14/5032775 cross(vect const&, vect const&) [15]
0.00 0.00 41/5032775 initialize() [17]
0.01 0.00 5032720/5032775 calculate_a() [4]
[13] 0.2 0.01 0.00 5032775 vect::vect(double, double, double) [13]
-----------------------------------------------
0.00 0.01 1/1 main [1]
[14] 0.1 0.00 0.01 1 totalL() [14]
0.01 0.00 14/14 cross(vect const&, vect const&) [15]
0.00 0.00 14/118268959 vect::operator*(double const&) [5]
0.00 0.00 14/75490814 vect::operator+=(vect const&) [7]
0.00 0.00 1/85 vect::vect() [21]
-----------------------------------------------
0.01 0.00 14/14 totalL() [14]
[15] 0.1 0.01 0.00 14 cross(vect const&, vect const&) [15]
0.00 0.00 14/5032775 vect::vect(double, double, double) [13]
|}
{| class="wikitable mw-collapsible mw-collapsed"
! NBody gprof Profile dataComplete Data (Warning: long)
|-
| Call graph (explanation follows)
49
edits

Navigation menu