debug instrumentation for locate time

This commit is contained in:
Paul Davis 2017-07-17 14:04:31 -04:00
parent e6576e2934
commit 3d183dc462

View file

@ -582,6 +582,8 @@ Session::non_realtime_locate ()
}
microseconds_t begin = get_microseconds ();
{
boost::shared_ptr<RouteList> rl = routes.reader();
@ -603,6 +605,7 @@ Session::non_realtime_locate ()
cerr << "\n\n <<< DONE Non-RT locate on routes\n\n";
}
{
VCAList v = _vca_manager->vcas ();
for (VCAList::const_iterator i = v.begin(); i != v.end(); ++i) {
@ -610,6 +613,9 @@ Session::non_realtime_locate ()
}
}
microseconds_t end = get_microseconds ();
cerr << "Locate took " << setprecision (3) << ((end - begin) /1000000.0) << " secs\n";
_scene_changer->locate (_transport_frame);
/* XXX: it would be nice to generate the new clicks here (in the non-RT thread)