feat: add frequency information to benchmark report (#60)
Include frequency details in the benchmark report when using fixed frequency mode to enhance clarity and analysis of performance metrics.
This commit is contained in:
parent
5051051b00
commit
69b83817cd
@ -179,6 +179,8 @@ class BenchmarkRpcClientModule(aimrt_py.ModuleBase):
|
||||
p999_latency = self.perf_data[int(correct_count * 0.999)]
|
||||
|
||||
result_str = f"Benchmark plan {plan_id} completed, report:"
|
||||
if plan['perf_mode'] == 'fixed-freq':
|
||||
result_str += f"\nfreq: {plan['freq']}"
|
||||
result_str += f"\nmode: {plan['perf_mode']}"
|
||||
result_str += f"\nmsg size: {plan['msg_size']}"
|
||||
result_str += f"\nparallel: {plan['parallel']}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user