14 #ifndef INCLUDED_basic_prof_hh
15 #define INCLUDED_basic_prof_hh
19 #include <basic/options/keys/run.OptionKeys.gen.hh>
69 #define PROF_START(expr)
70 #define PROF_STOP(expr)
72 #define PROF_START(expr) ( prof_start_function_body( expr) )
73 #define PROF_STOP(expr) ( prof_stop_function_body( expr ) )
320 using namespace basic::options::OptionKeys;
323 if ( !
option[basic::options::OptionKeys::run::profile] ) {
337 using namespace basic::options::OptionKeys;
340 if ( !
option[basic::options::OptionKeys::run::profile] ) {
347 if ( current >= start ) {
utility::vector1< clock_t > start_clock(n_prof_tags, 0)
Program boolean option class.
bool show_time_on_cerr
print "TIME_STAMP: Www Mmm dd hh:mm:ss yyyy msg" on tr.Error and on std::cerr (if boolean is true) ...
clock_t const SHRINK_FACTOR
utility::vector1< int > calls(n_prof_tags, 0)
double const clock_factor
vectorL: std::vector with L-based indexing
void show_time(basic::Tracer &tr, std::string const &msg)
rule< Scanner, options_closure::context_t > options
utility::options::OptionCollection option
OptionCollection global.
utility::vector1< int > bad_calls(n_prof_tags, 0)
void prof_stop_function_body(ProfTag const tag)
vector1: std::vector with 1-based indexing
Class for handling user debug/warnings/errors. Use instance of this class instead of 'std::cout' for ...
void prof_start_function_body(ProfTag const tag)
Program options global and initialization function.
rule< Scanner, tag_closure::context_t > tag
THREAD_LOCAL basic::Tracer tr("struc_set_fragment_picker")
utility::vector1< double > total_clock(n_prof_tags, 0)
utility::vector1< std::string > tag2string