11 #ifndef __SPEED_REPORT_HEADER
12 #define __SPEED_REPORT_HEADER
15 #include "../tool/clock.hpp"
19 const int lower_time_limit = 1;
20 const int upper_time_limit = 3;
26 if((i_&(mod_-1)) == 0) {
29 if(e - last_print_ > lower_time_limit * 1000) {
30 if(e - last_print_ > upper_time_limit * 1000) {
34 auto fl = mod_ / (e - last_print_);
77 #endif //__SPEED_REPORT_HEADER
#define GREEN
Definition: color.hpp:15
#define YELLOWB
Definition: color.hpp:18
#define GREENB
Definition: color.hpp:16
frequency_class()
Definition: speed_report.hpp:22
Definition: speed_report.hpp:18
#define NONE
Definition: color.hpp:37
struct ustd::endl_class endl
void speed_report()
Definition: speed_report.hpp:24
class diag::frequency_class freq
#define F(x)
Definition: ustd_generic.hpp:15
void speed_report()
Definition: speed_report.hpp:72
#define YELLOW
Definition: color.hpp:17