42 using namespace nvbio;
60 m_max_strings ( max_strings ),
61 m_max_bps ( max_bps ),
104 m_data->m_mutex.lock();
112 const int ret =
io::next(
DNA_N, h_read_data, m_data->m_file, m_data->m_max_strings, m_data->m_max_bps );
115 m_data->m_time += timer.
seconds();
116 m_data->m_reads += h_read_data->
size();
117 m_data->m_bps += h_read_data->
bps();
125 log_verbose(stderr,
"\r loaded reads [%llu, %llu] (%.1fM / %.2fG bps, %.1fK reads/s, %.1fM bps/s) ",
127 m_data->m_reads + h_read_data->
size(),
128 1.0e-6f * (h_read_data->
bps()),
129 1.0e-9f * (m_data->m_bps + h_read_data->
bps()),
130 m_data->m_time ? (1.0e-3f * (m_data->m_reads + h_read_data->
size())) / m_data->m_time : 0.0f,
131 m_data->m_time ? (1.0e-6f * (m_data->m_bps + h_read_data->
bps() )) / m_data->m_time : 0.0f );
134 m_data->m_mutex.unlock();