mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Remove debug/profile message in optimized builds
This commit is contained in:
parent
c45982ee5a
commit
71212e0c81
1 changed files with 2 additions and 0 deletions
|
|
@ -1298,7 +1298,9 @@ Session::non_realtime_locate ()
|
|||
|
||||
microseconds_t end = get_microseconds ();
|
||||
int usecs_per_track = lrintf ((end - start) / (double) nt);
|
||||
#ifndef NDEBUG
|
||||
std::cerr << "locate took " << (end - start) << " usecs for " << nt << " tracks = " << usecs_per_track << " per track\n";
|
||||
#endif
|
||||
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