From 00d7bc4a938f1d1ff7da18788272c2b56e00d534 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 26 Aug 2019 09:14:50 +0200 Subject: [PATCH] pcu/GPRS_TBF.ttcn: less verbose logging Reduce the formatted log size of TC_ul_tbf from ~140 MB to ~8 MB. Related: OS#3925 Change-Id: Ibccfc399a6e8b50e4f01b5f167c47fbbde4533ed --- pcu/GPRS_TBF.ttcn | 3 --- 1 file changed, 3 deletions(-) diff --git a/pcu/GPRS_TBF.ttcn b/pcu/GPRS_TBF.ttcn index 9fbe19157..1c9a75b56 100644 --- a/pcu/GPRS_TBF.ttcn +++ b/pcu/GPRS_TBF.ttcn @@ -144,8 +144,6 @@ private function f_copy_from_llc(inout UlTbfState us, integer len) return octets us.cur_index := us.cur_index + len; us.total_bytes_remain := us.total_bytes_remain - len; - log("copy_from_llc: ", ret, " us: ", us); - /* if we completed this PDU, move on to the next, resetting the index */ if (us.cur_index >= pdu_len) { us.cur_pdu := us.cur_pdu +1; @@ -307,7 +305,6 @@ return integer { var integer blk_len_net := f_gprs_blocksize(cs) - hdr_size; var integer num_remain := f_div_round_up(us.total_bytes_remain, blk_len_net); var integer cv := f_calc_cv(num_remain + sizeof(us.rlc_sent), us.bsn_p, us.num_ts, us.tbf.initial_cs, 14 /* FIXME */); - log("CV=", cv, ", num_rmain=", num_remain, " from ", us); return cv; }