Agora  1.2.0
Agora project
parse_all_ul.m File Reference

Functions

end load ("results.mat") colors
 
 figure (6)
 
 errorbar (frame_length_range *1000, avg_proc_duration_bigstation, std_proc_duration_bigstation, 'Color', colors(1,:), 'LineWidth', 2)
 
 errorbar (frame_length_range *1000, avg_proc_duration_agora, std_proc_duration_agora, 'Color', colors(2,:), 'LineWidth', 2)
 
 set (gca, 'FontSize', 24)
 
 xlabel ('Frame length(us)')
 
 ylabel ('Processing time(us)')
 
 title ('Uplink frame Processing latency')
 
 set (gca, 'YScale', 'log') ylim([0 7000])
 
 legend ([h1, h2, h3], 'Pipeline parallel', 'Agora', 'Frame length', 'location', 'best')
 
 xticks ([0:8:32])
 
 xlim ([5, 35])
 
 set (gcf, 'Position',[100 100 350 350]) %% avg_proc_start_duration
 
 figure (7)
 
 set (h1(1), 'facecolor',[0.9, 0.9, 0.9])
 
 set (h1(2), 'facecolor',[0.4, 0.4, 0.4])
 
 set (gca, 'xtick',[1:length(names)], 'xticklabel', names)
 
 legend ("agora", "Pipeline parallel", "location", "northwest")
 
 figure (8)
 
 set (l, 'FontSize', 18)
 

Variables

 frame_length_range = [1:5]
 
 ue_num = 16
 
 ant_num = 64
 
 avg_proc_duration_agora = []
 
 std_proc_duration_agora = []
 
 avg_proc_duration_bigstation = []
 
 std_proc_duration_bigstation = []
 
 avg_fft_duration_agora = []
 
 avg_zf_duration_agora = []
 
 avg_decode_duration_agora = []
 
 avg_proc_start_agora = []
 
 avg_fft_duration_bigstation = []
 
 avg_zf_duration_bigstation = []
 
 avg_decode_duration_bigstation = []
 
 avg_proc_start_bigstation = []
 
 index = 0
 
for i
 
 filename = sprintf('uplink/timeresult_agora_%dx%d_%dms.txt',ant_num, ue_num, frame_length_range(index))
 
 clf
 
hold on
 
 h1 = plot(frame_length_range*1000,avg_proc_duration_bigstation,'s-','Color', colors(1,:), 'LineWidth',2,'MarkerSize',20)
 
 h2 = plot(frame_length_range*1000,avg_proc_duration_agora, '^-', 'Color', colors(2,:), 'LineWidth',2, 'MarkerSize',20)
 
 h3 = plot(frame_length_range*1000, frame_length_range*1000, 'k--', 'LineWidth',2)
 
 l1 = legend([h_fft_big,h_fft_big_5core,h_fft_comp,h_pilot,h_theory],{'BigStation (n_{FFT}=min)','BigStation (n_{FFT}=5)', 'agora', 'Pilot RX', 'Theoretical pilot RX'},'Location','best','Orientation','vertical')
 
l1 NumColumns = 2
 
 avg_zf_duration = [avg_zf_duration_agora(1), avg_zf_duration_bigstation(1)]
 
 avg_fft_duration = [avg_fft_duration_agora(1) - avg_proc_start_agora(1), avg_fft_duration_bigstation(1) - avg_proc_start_bigstation(1)]
 
 avg_decode_duration = [avg_decode_duration_agora(1), avg_decode_duration_bigstation(1)]
 
 avg_all = [avg_proc_start_duration
 
 names = {'Queueing'; 'Pilot'; 'ZF'; 'DataProc';}
 
 h4 = plot(frame_length_range*1000,avg_proc_duration_agora, '^-', 'Color', colors(2,:), 'LineWidth',2, 'MarkerSize',15)
 
 h5 = plot(frame_length_range*1000, frame_length_range*1000, 'k--', 'LineWidth',2)
 
 l =legend([h1,h2,h3,h4,h5],'BigStation (99th tail)','BigStation','Agora (99th tail)','Agora','Frame length', 'location','best')
 

Function Documentation

◆ errorbar() [1/2]

errorbar ( frame_length_range 1000,
avg_proc_duration_agora  ,
std_proc_duration_agora  ,
'Color'  ,
colors(2,:)  ,
'LineWidth'  ,
 
)

◆ errorbar() [2/2]

errorbar ( frame_length_range 1000,
avg_proc_duration_bigstation  ,
std_proc_duration_bigstation  ,
'Color'  ,
colors(1,:)  ,
'LineWidth'  ,
 
)

◆ figure() [1/3]

figure ( )

◆ figure() [2/3]

figure ( )

◆ figure() [3/3]

figure ( )

◆ legend() [1/2]

legend ( "agora"  ,
"Pipeline parallel"  ,
"location"  ,
"northwest"   
)

◆ legend() [2/2]

legend ( 'Pipeline parallel'  ,
'Agora ,
'Frame length ,
'location'  ,
'best'   
)

◆ load()

end load ( "results.mat"  )

◆ set() [1/7]

set ( gca  ,
'FontSize ,
24   
)

◆ set() [2/7]

set ( gca  ,
'xtick'  ,
'xticklabel'  ,
names   
)

◆ set() [3/7]

set ( gca  ,
'YScale'  ,
'log'   
)

◆ set() [4/7]

set ( gcf  ,
'Position'   
)

◆ set() [5/7]

set ( h1(1)  ,
'facecolor'   
)

◆ set() [6/7]

set ( h1(2)  ,
'facecolor'   
)

◆ set() [7/7]

set ( l  ,
'FontSize ,
18   
)

◆ title()

title ( 'Uplink frame Processing latency'  )

◆ xlabel()

xlabel ( 'Frame length(us)'  )

◆ xlim()

xlim ( )
inline

◆ xticks()

xticks ( )

◆ ylabel()

ylabel ( 'Processing time(us)'  )

Variable Documentation

◆ ant_num

ant_num = 64

◆ avg_all

avg_all = [avg_proc_start_duration

◆ avg_decode_duration

◆ avg_decode_duration_agora

avg_decode_duration_agora = []

◆ avg_decode_duration_bigstation

avg_decode_duration_bigstation = []

◆ avg_fft_duration

◆ avg_fft_duration_agora

avg_fft_duration_agora = []

◆ avg_fft_duration_bigstation

avg_fft_duration_bigstation = []

◆ avg_proc_duration_agora

avg_proc_duration_agora = []

◆ avg_proc_duration_bigstation

avg_proc_duration_bigstation = []

◆ avg_proc_start_agora

avg_proc_start_agora = []

◆ avg_proc_start_bigstation

avg_proc_start_bigstation = []

◆ avg_zf_duration

◆ avg_zf_duration_agora

avg_zf_duration_agora = []

◆ avg_zf_duration_bigstation

avg_zf_duration_bigstation = []

◆ clf

clf

◆ filename

filename = sprintf('uplink/timeresult_agora_%dx%d_%dms.txt',ant_num, ue_num, frame_length_range(index))

◆ frame_length_range

frame_length_range = [1:5]

◆ h1

h1 = plot(frame_length_range*1000,avg_proc_duration_bigstation,'s-','Color', colors(1,:), 'LineWidth',2,'MarkerSize',20)

◆ h2

h2 = plot(frame_length_range*1000,avg_proc_duration_agora, '^-', 'Color', colors(2,:), 'LineWidth',2, 'MarkerSize',20)

◆ h3

h3 = plot(frame_length_range*1000, frame_length_range*1000, 'k--', 'LineWidth',2)

◆ h4

h4 = plot(frame_length_range*1000,avg_proc_duration_agora, '^-', 'Color', colors(2,:), 'LineWidth',2, 'MarkerSize',15)

◆ h5

h5 = plot(frame_length_range*1000, frame_length_range*1000, 'k--', 'LineWidth',2)

◆ i

for i
Initial value:

◆ index

end index = 0

◆ l

l =legend([h1,h2,h3,h4,h5],'BigStation (99th tail)','BigStation','Agora (99th tail)','Agora','Frame length', 'location','best')

◆ l1

l1 = legend([h_fft_big,h_fft_big_5core,h_fft_comp,h_pilot,h_theory],{'BigStation (n_{FFT}=min)','BigStation (n_{FFT}=5)', 'agora', 'Pilot RX', 'Theoretical pilot RX'},'Location','best','Orientation','vertical')

◆ names

names = {'Queueing'; 'Pilot'; 'ZF'; 'DataProc';}

◆ NumColumns

l1 NumColumns = 2

◆ on

grid on

◆ std_proc_duration_agora

std_proc_duration_agora = []

◆ std_proc_duration_bigstation

std_proc_duration_bigstation = []

◆ ue_num

ue_num = 16
frame_length_range
frame_length_range
Definition: parse_all_ul.m:1
index
index
Definition: parse_all_ul.m:21