# NOTE: WE SHALL do a check if the executable is present (in case build went wrong)
# NOTE: WE SHALL do a check if the executable is present (in case build went wrong)
...
@@ -705,6 +705,11 @@ class RANManagement():
...
@@ -705,6 +705,11 @@ class RANManagement():
systemTime=''
systemTime=''
maxPhyMemUsage=''
maxPhyMemUsage=''
nbContextSwitches=''
nbContextSwitches=''
#NSA FR1 check
NSA_RAPROC_PUSCH_check=0
#dlsch and ulsch statistics (dictionary)
dlsch_ulsch_stats={}
forlineinenb_log_file.readlines():
forlineinenb_log_file.readlines():
# Runtime statistics
# Runtime statistics
result=re.search('Run time:',str(line))
result=re.search('Run time:',str(line))
...
@@ -855,12 +860,27 @@ class RANManagement():
...
@@ -855,12 +860,27 @@ class RANManagement():
result=re.search('MBMS USER-PLANE.*Requesting.*bytes from RLC',str(line))
result=re.search('MBMS USER-PLANE.*Requesting.*bytes from RLC',str(line))
ifresultisnotNone:
ifresultisnotNone:
mbmsRequestMsg+=1
mbmsRequestMsg+=1
#FR1 NSA test : add new markers to make sure gNB is used
result=re.search('\[gNB [0-9]+\]\[RAPROC\] PUSCH with TC_RNTI [0-9a-fA-F]+ received correctly, adding UE MAC Context UE_id [0-9]+\/RNTI [0-9a-fA-F]+',str(line))
ifresultisnotNone:
NSA_RAPROC_PUSCH_check=1
#dlsch and ulsch statistics
#keys below are the markers we are loooking for, loop over this keys list
#everytime these markers are found in the log file, the previous ones are overwritten in the dict
#eventually we record and print only the last occurence