mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
add disk i/o apparent speed output to non-RT locate call
This commit is contained in:
parent
b3a1cbbfa2
commit
c0bbad3c4b
1 changed files with 1 additions and 0 deletions
|
|
@ -1292,6 +1292,7 @@ Session::non_realtime_locate ()
|
|||
|
||||
microseconds_t end = get_microseconds ();
|
||||
int usecs_per_track = lrintf ((end - start) / (double) nt);
|
||||
std::cerr << "locate took " << (end - start) << " usecs for " << nt << " tracks = " << usecs_per_track << " per track\n";
|
||||
if (usecs_per_track > g_atomic_int_get (¤t_usecs_per_track)) {
|
||||
g_atomic_int_set (¤t_usecs_per_track, usecs_per_track);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue