rem: std::cerr << "(eca-engine) *** profile begin ***" << endl; std::cerr << "Loops faster than realtime: "  << kvu_numtostr(impl_repp->looptimer_rep.events_under_lower_bound()); std::cerr << " (<" << kvu_numtostr(impl_repp->looptimer_low_rep * 1000, 1) << " msec)" << endl; std::cerr << "Loops slower than realtime: "  << kvu_numtostr(slower_than_rt); std::cerr << " (>=" << kvu_numtostr(impl_repp->looptimer_low_rep * 1000, 1) << " msec)" << endl; std::cerr << "Loops slower than realtime: "  << kvu_numtostr(impl_repp->looptimer_range_rep.events_over_upper_bound()); std::cerr << " (>" << kvu_numtostr(impl_repp->looptimer_mid_rep * 1000, 1) << " msec)" << endl; std::cerr << "Loops exceeding all buffering: " << kvu_numtostr(impl_repp->looptimer_rep.events_over_upper_bound()); std::cerr << " (>" << kvu_numtostr(impl_repp->looptimer_high_rep * 1000, 1) << " msec)" << endl; std::cerr << "Total loops: " << kvu_numtostr(impl_repp->looptimer_rep.event_count()) << endl; std::cerr << "Fastest/slowest/average loop time: "; std::cerr << kvu_numtostr(impl_repp->looptimer_rep.min_duration_seconds() * 1000, 1); std::cerr << "/"; std::cerr << kvu_numtostr(impl_repp->looptimer_rep.max_duration_seconds() * 1000, 1); std::cerr << "/"; std::cerr << kvu_numtostr(impl_repp->looptimer_rep.average_duration_seconds() * 1000, 1); std::cerr << " msec." << endl; std::cerr << "(eca-engine) *** profile end   ***" << endl;
add: cerr << "(eca-engine) *** profile begin ***" << endl; cerr << "Loops faster than realtime: "  << kvu_numtostr(impl_repp->looptimer_rep.events_under_lower_bound()); cerr << " (<" << kvu_numtostr(impl_repp->looptimer_low_rep * 1000, 1) << " msec)" << endl; cerr << "Loops slower than realtime: "  << kvu_numtostr(slower_than_rt); cerr << " (>=" << kvu_numtostr(impl_repp->looptimer_low_rep * 1000, 1) << " msec)" << endl; cerr << "Loops slower than realtime: "  << kvu_numtostr(impl_repp->looptimer_range_rep.events_over_upper_bound()); cerr << " (>" << kvu_numtostr(impl_repp->looptimer_mid_rep * 1000, 1) << " msec)" << endl; cerr << "Loops exceeding all buffering: " << kvu_numtostr(impl_repp->looptimer_rep.events_over_upper_bound()); cerr << " (>" << kvu_numtostr(impl_repp->looptimer_high_rep * 1000, 1) << " msec)" << endl; cerr << "Total loops: " << kvu_numtostr(impl_repp->looptimer_rep.event_count()) << endl; cerr << "Fastest/slowest/average loop time: "; cerr << kvu_numtostr(impl_repp->looptimer_rep.min_duration_seconds() * 1000, 1); cerr << "/"; cerr << kvu_numtostr(impl_repp->looptimer_rep.max_duration_seconds() * 1000, 1); cerr << "/"; cerr << kvu_numtostr(impl_repp->looptimer_rep.average_duration_seconds() * 1000, 1); cerr << " msec." << endl; cerr << "(eca-engine) *** profile end   ***" << endl;
context: void ECA_ENGINE::dump_profile_info(void) {  long int slower_than_rt = impl_repp->looptimer_rep.event_count() -                            impl_repp->looptimer_rep.events_under_lower_bound() -                            impl_repp->looptimer_rep.events_over_upper_bound();  std::cerr << "(eca-engine) *** profile begin ***" << endl;  std::cerr << "Loops faster than realtime: "  << kvu_numtostr(impl_repp->looptimer_rep.events_under_lower_bound());  std::cerr << " (<" << kvu_numtostr(impl_repp->looptimer_low_rep * 1000, 1) << " msec)" << endl;  std::cerr << "Loops slower than realtime: "  << kvu_numtostr(slower_than_rt);  std::cerr << " (>=" << kvu_numtostr(impl_repp->looptimer_low_rep * 1000, 1) << " msec)" << endl;  std::cerr << "Loops slower than realtime: "  << kvu_numtostr(impl_repp->looptimer_range_rep.events_over_upper_bound());  std::cerr << " (>" << kvu_numtostr(impl_repp->looptimer_mid_rep * 1000, 1) << " msec)" << endl;  std::cerr << "Loops exceeding all buffering: " << kvu_numtostr(impl_repp->looptimer_rep.events_over_upper_bound());  std::cerr << " (>" << kvu_numtostr(impl_repp->looptimer_high_rep * 1000, 1) << " msec)" << endl;  std::cerr << "Total loops: " << kvu_numtostr(impl_repp->looptimer_rep.event_count()) << endl;  std::cerr << "Fastest/slowest/average loop time: ";  std::cerr << kvu_numtostr(impl_repp->looptimer_rep.min_duration_seconds() * 1000, 1);  std::cerr << "/";  std::cerr << kvu_numtostr(impl_repp->looptimer_rep.max_duration_seconds() * 1000, 1);  std::cerr << "/";  std::cerr << kvu_numtostr(impl_repp->looptimer_rep.average_duration_seconds() * 1000, 1);  std::cerr << " msec." << endl;  std::cerr << "(eca-engine) *** profile end   ***" << endl;}