OpenMEEG
Loading...
Searching...
No Matches
om_utils.h
Go to the documentation of this file.
1// Project Name: OpenMEEG (http://openmeeg.github.io)
2// © INRIA and ENPC under the French open source license CeCILL-B.
3// See full copyright notice in the file LICENSE.txt
4// If you make a copy of this file, you must either:
5// - provide also LICENSE.txt and modify this header to refer to it.
6// - replace this header by the LICENSE.txt content.
7
8#pragma once
9
10#include <string>
11#include <cmath>
12#include <random>
13#include <iostream>
14#include <chrono>
15#include <sstream>
16#include <algorithm>
17#include <cctype>
18
19#include "OpenMEEGConfigure.h"
20
21namespace OpenMEEG {
22
23 inline void dispEllapsed(const std::chrono::duration<double> elapsed_seconds) {
24 std::cout << "-------------------------------------------" << std::endl
25 << "| Elapsed Time: " << elapsed_seconds.count() << " s." << std::endl
26 << "-------------------------------------------" << std::endl;
27 }
28}
void dispEllapsed(const std::chrono::duration< double > elapsed_seconds)
Definition om_utils.h:23