Clearmatics Libff
0.1
C++ library for Finite Fields and Elliptic Curves
|
Go to the documentation of this file.
14 #ifndef PROFILING_HPP_
15 #define PROFILING_HPP_
35 extern std::map<std::string, long long>
last_times;
41 const std::string &key,
const long long factor = 1);
45 void enter_block(
const std::string &msg,
const bool indent =
true);
46 void leave_block(
const std::string &msg,
const bool indent =
true);
48 void print_mem(
const std::string &s =
"");
53 #endif // PROFILING_HPP_
void print_cumulative_op_counts(const bool only_fq)
void enter_block(const std::string &msg, const bool indent)
std::map< std::string, long long > cumulative_times
std::map< std::string, long long > last_times
void print_cumulative_times(const long long factor)
long long get_nsec_time()
void clear_profiling_counters()
std::map< std::string, size_t > invocation_counts
void leave_block(const std::string &msg, const bool indent)
void print_header(const char *msg)
void print_compilation_info()
void print_cumulative_time_entry(const std::string &key, const long long factor)
bool inhibit_profiling_counters
bool inhibit_profiling_info
void print_time(const char *msg)
void print_mem(const std::string &s)