Open main menu

CDOT Wiki β

Changes

BetaT

368 bytes added, 17:45, 15 February 2017
gprof
== gprof ==
it gets a bit messy down there, but basically 89.19% of the program is spent in the main() calculating those for loops shown above. The additional time is spent allocating the memory which might cause some slowdown when transferring it to the GPU across the bus int he future. But the main thing to take away here is that main() is 89.19% and takes 97 seconds. ''Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
89.19 97.08 97.08 main
4.73 102.22 5.14 1406087506 0.00 0.00 std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::operator[](unsigned int)
4.49 107.11 4.88 1406087506 0.00 0.00 std::vector<double, std::allocator<double> >::operator[](unsigned int)''
== Potential Speed Increase ==
212
edits