add disk i/o apparent speed output to non-RT locate call
This commit is contained in:
parent
b3a1cbbfa2
commit
c0bbad3c4b
|
@ -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…
Reference in New Issue
Block a user