mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 04:36:30 +01:00
debug instrumentation for locate time
This commit is contained in:
parent
e6576e2934
commit
3d183dc462
1 changed files with 6 additions and 0 deletions
|
|
@ -582,6 +582,8 @@ Session::non_realtime_locate ()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
microseconds_t begin = get_microseconds ();
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::shared_ptr<RouteList> rl = routes.reader();
|
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";
|
cerr << "\n\n <<< DONE Non-RT locate on routes\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
VCAList v = _vca_manager->vcas ();
|
VCAList v = _vca_manager->vcas ();
|
||||||
for (VCAList::const_iterator i = v.begin(); i != v.end(); ++i) {
|
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);
|
_scene_changer->locate (_transport_frame);
|
||||||
|
|
||||||
/* XXX: it would be nice to generate the new clicks here (in the non-RT thread)
|
/* XXX: it would be nice to generate the new clicks here (in the non-RT thread)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue