Agora
1.2.0
Agora project
|
Functions | |
index (1:512:frame_count) | |
fprintf ("FFT: %.2f(%.2f,%.2f,%.2f), ZF: %.2f(%.2f, %.2f,%.2f), Demul: %.2f(%.2f,%.2f,%.2f), Decode: %.2f(%.2f,%.2f,%.2f)\n",... avg_fft, avg_fft_1, avg_fft_2, avg_fft_3, avg_zf, avg_zf_1, avg_zf_2, avg_zf_3, avg_demul, avg_demul_1, avg_demul_2, avg_demul_3, avg_decode, avg_decode_1, avg_decode_2, avg_decode_3) | |
fprintf ("FFT: %.2f(%.2f,%.2f), ZF: %.2f(%.2f, %.2f), Demul: %.2f(%.2f,%.2f)\n",... avg_fft, avg_fft_1+avg_fft_3, avg_fft_2, avg_zf, avg_zf_1, avg_zf_2, avg_demul, avg_demul_1+avg_demul_3, avg_demul_2) | |
fprintf ("Per task: FFT: %.2f(%.3f,%.3f,%.3f), ZF: %.3f(%.3f,%.3f,%.3f), Demul: %.2f(%.3f,%.3f,%.3f)\n",...[avg_fft, avg_fft_1, avg_fft_2, avg_fft_3]/n_fft_task *n_core, [avg_zf, avg_zf_1, avg_zf_2, avg_zf_3]/n_zf_task *n_core, [avg_demul, avg_demul_1, avg_demul_2, avg_demul_3]/n_demul_task *n_core) | |
fprintf ("Time per task: fft: %.1f+%.2f, zf: %.1f+%.2f, demul:%.2f+%.3f, decode:%.1f+%.2f\n",... avg_fft_compute, std_fft_compute, avg_zf_compute, std_zf_compute, avg_demul_compute, std_demul_compute, avg_decode_compute, std_decode_compute) | |
fprintf ("Time all cores: fft: %.1f+%.2f, zf: %.1f+%.2f, demul:%.2f+%.3f, decode:%.1f+%.2f\n",... avg_fft_compute, std_fft_compute, avg_zf_compute, std_zf_compute, avg_demul_compute, std_demul_compute, avg_decode_compute, std_decode_compute) | |
fprintf ("Data Time all cores: fft: %.4f, zf: %.4f, demul:%.4f, decode:%.4f\n",... avg_fft_data, avg_zf_data, avg_demul_data, avg_decode_data) | |
fprintf | ( | "Data Time all cores: fft: %. | 4f, |
zf:%. | 4f, | ||
demul:%. | 4f, | ||
decode:%.4f\n" | , | ||
avg_fft_data, | |||
avg_zf_data | , | ||
avg_demul_data | , | ||
avg_decode_data | |||
) |
fprintf | ( | "FFT: %. | 2f%.2f,%.2f, |
ZF:%. | 2f%.2f, %.2f, | ||
Demul:%.2f(%.2f,%.2f)\n" | , | ||
avg_fft, | |||
avg_fft_1+ | avg_fft_3, | ||
avg_fft_2 | , | ||
avg_zf | , | ||
avg_zf_1 | , | ||
avg_zf_2 | , | ||
avg_demul | , | ||
avg_demul_1+ | avg_demul_3, | ||
avg_demul_2 | |||
) |
fprintf | ( | "FFT: %. | 2f%.2f,%.2f,%.2f, |
ZF:%. | 2f%.2f, %.2f,%.2f, | ||
Demul:%. | 2f%.2f,%.2f,%.2f, | ||
Decode:%.2f(%.2f,%.2f,%.2f)\n" | , | ||
avg_fft, | |||
avg_fft_1 | , | ||
avg_fft_2 | , | ||
avg_fft_3 | , | ||
avg_zf | , | ||
avg_zf_1 | , | ||
avg_zf_2 | , | ||
avg_zf_3 | , | ||
avg_demul | , | ||
avg_demul_1 | , | ||
avg_demul_2 | , | ||
avg_demul_3 | , | ||
avg_decode | , | ||
avg_decode_1 | , | ||
avg_decode_2 | , | ||
avg_decode_3 | |||
) |
fprintf | ( | "Per task: FFT: %. | 2f%.3f,%.3f,%.3f, |
ZF:%. | 3f%.3f,%.3f,%.3f, | ||
Demul:%.2f(%.3f,%.3f,%.3f)\n" | , | ||
.../n_fft_task * | n_core[avg_fft, avg_fft_1, avg_fft_2, avg_fft_3], | ||
[avg_zf, avg_zf_1, avg_zf_2, avg_zf_3] /n_zf_task * | n_core, | ||
[avg_demul, avg_demul_1, avg_demul_2, avg_demul_3] /n_demul_task * | n_core | ||
) |
fprintf | ( | "Time all cores: fft: %.1f+%. | 2f, |
zf:%.1f+%. | 2f, | ||
demul:%.2f+%. | 3f, | ||
decode:%.1f+%.2f\n" | , | ||
avg_fft_compute, | |||
std_fft_compute | , | ||
avg_zf_compute | , | ||
std_zf_compute | , | ||
avg_demul_compute | , | ||
std_demul_compute | , | ||
avg_decode_compute | , | ||
std_decode_compute | |||
) |
fprintf | ( | "Time per task: fft: %.1f+%. | 2f, |
zf:%.1f+%. | 2f, | ||
demul:%.2f+%. | 3f, | ||
decode:%.1f+%.2f\n" | , | ||
avg_fft_compute, | |||
std_fft_compute | , | ||
avg_zf_compute | , | ||
std_zf_compute | , | ||
avg_demul_compute | , | ||
std_demul_compute | , | ||
avg_decode_compute | , | ||
std_decode_compute | |||
) |
index | ( | 1:512:frame_count | ) |
avg_decode = avg_decode_1 + avg_decode_2 + avg_decode_3 |
avg_demul = avg_demul_1 + avg_demul_2 + avg_demul_3 |
decode_1 = temp{10} |
decode_2 = temp{11} |
decode_3 = temp{12} |
demul_1 = temp{7} |
demul_2 = temp{8} |
demul_3 = temp{9} |
fft_1 = temp{1} |
fft_2 = temp{2} |
fft_3 = temp{3} |
fid = fopen('../files/experiment/timeresult_detail.txt') |
index = [1:frame_count] |
elseif M = 8 |
n_core = 30 |
n_demul_task = 1200 * 62 |
n_fft_task = M * 70 |
n_zf_task = 1200 |
subset = index(1200:end) |
temp = textscan(fid,"%f%f%f%f%f%f%f%f%f%f%f%f",'HeaderLines',2) |
zf_1 = temp{4} |
zf_2 = temp{5} |
zf_3 = temp{6} |