Commit ad51488c authored by COULAUD Olivier's avatar COULAUD Olivier
Browse files

Add space before ms in output

parent bda19ffc
......@@ -4,6 +4,8 @@
// --------------------------------
#ifndef SCALFMM_ALGORITHMS_SEQUENTIAL_SEQUENTIAL_HPP
#define SCALFMM_ALGORITHMS_SEQUENTIAL_SEQUENTIAL_HPP
#include <chrono>
#include <iostream>
#include "scalfmm/algorithms/common.hpp"
#include "scalfmm/algorithms/sequential/bottom.hpp"
......@@ -13,7 +15,6 @@
#include "scalfmm/algorithms/sequential/transfer.hpp"
#include "scalfmm/algorithms/sequential/upward.hpp"
#include "scalfmm/utils/timer.hpp"
#include <chrono>
namespace scalfmm::algorithms
{
......@@ -52,7 +53,7 @@ namespace scalfmm::algorithms
time.tic();
pass::bottom(tree, approximation);
time.tac();
std::cout << "bottom pass = " << time.elapsed() << "ms\n";
std::cout << "bottom pass = " << time.elapsed() << " ms\n";
}
if((op & operators_to_proceed::m2m) == operators_to_proceed::m2m)
......@@ -60,7 +61,7 @@ namespace scalfmm::algorithms
time.tic();
pass::upward(begin, end, approximation);
time.tac();
std::cout << "upward pass = " << time.elapsed() << "ms\n";
std::cout << "upward pass = " << time.elapsed() << " ms\n";
}
if((op & operators_to_proceed::m2l) == operators_to_proceed::m2l)
......@@ -68,7 +69,7 @@ namespace scalfmm::algorithms
time.tic();
pass::transfer(begin, end, approximation);
time.tac();
std::cout << "transfert pass = " << time.elapsed() << "ms\n";
std::cout << "transfert pass = " << time.elapsed() << " ms\n";
}
if((op & operators_to_proceed::l2l) == operators_to_proceed::l2l)
......@@ -76,7 +77,7 @@ namespace scalfmm::algorithms
time.tic();
pass::downward(begin, end, approximation);
time.tac();
std::cout << "downward pass = " << time.elapsed() << "ms\n";
std::cout << "downward pass = " << time.elapsed() << " ms\n";
}
if((op & operators_to_proceed::l2p) == operators_to_proceed::l2p)
......@@ -84,7 +85,7 @@ namespace scalfmm::algorithms
time.tic();
pass::cell_to_leaf(tree, std::forward<FmmOperators>(fmmoperators), op);
time.tac();
std::cout << "cell_to_leaf pass = " << time.elapsed() << "ms\n";
std::cout << "cell_to_leaf pass = " << time.elapsed() << " ms\n";
}
if((op & operators_to_proceed::p2p) == operators_to_proceed::p2p)
......@@ -92,10 +93,10 @@ namespace scalfmm::algorithms
time.tic();
pass::direct(tree, std::forward<FmmOperators>(fmmoperators).near_field(), op);
time.tac();
std::cout << "direct pass = " << time.elapsed() << "ms\n";
std::cout << "direct pass = " << time.elapsed() << " ms\n";
}
std::cout << "Full algo : " << time.cumulated() << "ms\n";
std::cout << "Full algo : " << time.cumulated() << " ms\n";
/**/
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment