monolish
0.14.0
MONOlithic LIner equation Solvers for Highly-parallel architecture
|
Go to the documentation of this file. 1 #include "../../../include/monolish_blas.hpp"
2 #include "../../internal/monolish_internal.hpp"
14 calls.push_back(func_name);
15 times.push_back(std::chrono::system_clock::now());
18 *
pStream <<
"- {" << std::flush;
21 *
pStream <<
"type : solver, " << std::flush;
22 *
pStream <<
"name : " << std::flush;
23 for (
int i = 0; i < (int)
calls.size(); i++)
28 *
pStream <<
"stat : IN" << std::flush;
42 *
pStream <<
"- {" << std::flush;
45 *
pStream <<
"type : solver, " << std::flush;
46 *
pStream <<
"name : " << std::flush;
47 for (
int i = 0; i < (int)
calls.size(); i++)
52 auto end = std::chrono::system_clock::now();
53 double sec = std::chrono::duration_cast<std::chrono::nanoseconds>(
57 *
pStream <<
"stat : OUT, " << std::flush;
58 *
pStream <<
"time : " << sec << std::flush;
75 calls.push_back(func_name);
76 times.push_back(std::chrono::system_clock::now());
87 *
pStream <<
"- {" << std::flush;
90 *
pStream <<
"type : func, " << std::flush;
91 *
pStream <<
"name : " << std::flush;
92 for (
int i = 0; i < (int)
calls.size(); i++)
97 auto end = std::chrono::system_clock::now();
98 double sec = std::chrono::duration_cast<std::chrono::nanoseconds>(
102 *
pStream <<
"time : " << sec << std::flush;
118 calls.push_back(func_name);
119 times.push_back(std::chrono::system_clock::now());
130 *
pStream <<
"- {" << std::flush;
133 *
pStream <<
"type : util, " << std::flush;
134 *
pStream <<
"name : " << std::flush;
135 for (
int i = 0; i < (int)
calls.size(); i++)
137 *
pStream <<
", " << std::flush;
140 auto end = std::chrono::system_clock::now();
141 double sec = std::chrono::duration_cast<std::chrono::nanoseconds>(
145 *
pStream <<
"time : " << sec << std::flush;
void set_log_level(size_t L)
Specifying the log level.
std::vector< std::string > calls
logger class (singleton, for developper class)
void solver_in(const std::string func_name)
void set_log_filename(const std::string file)
Specifying the log finename.
void util_in(const std::string func_name)
void set_log_filename(const std::string filename)
Specifying the log finename.
void set_log_level(const size_t Level)
Logger utils ///////////////////////////////.
static Logger & get_instance()
std::vector< std::chrono::system_clock::time_point > times
void func_in(const std::string func_name)