summaryrefslogtreecommitdiff
path: root/libs/ardour/session_transport.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r--libs/ardour/session_transport.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 4a81e0e798..869b35a0a0 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -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)