mirror of https://github.com/PentHertz/srsLTE.git
remove c-type cast in RLC
This commit is contained in:
parent
86e02921f0
commit
d652a0df1c
|
@ -124,8 +124,8 @@ void rlc::get_metrics(rlc_metrics_t &m)
|
||||||
m.ul_tput_mbps[it->first] = (it->second->get_num_tx_bytes()*8/static_cast<double>(1e6))/secs;
|
m.ul_tput_mbps[it->first] = (it->second->get_num_tx_bytes()*8/static_cast<double>(1e6))/secs;
|
||||||
rlc_log->info("LCID=%d, RX throughput: %4.6f Mbps. TX throughput: %4.6f Mbps.\n",
|
rlc_log->info("LCID=%d, RX throughput: %4.6f Mbps. TX throughput: %4.6f Mbps.\n",
|
||||||
it->first,
|
it->first,
|
||||||
(it->second->get_num_rx_bytes()*8/(double)1e6)/secs,
|
(it->second->get_num_rx_bytes()*8/static_cast<double>(1e6))/secs,
|
||||||
(it->second->get_num_tx_bytes()*8/(double)1e6)/secs);
|
(it->second->get_num_tx_bytes()*8/static_cast<double>(1e6))/secs);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add multicast metrics
|
// Add multicast metrics
|
||||||
|
|
Loading…
Reference in New Issue