Re: [PATCH bpf-next 1/2] selftests/bpf: Move bench specific metrics into union of structs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 21, 2023 at 6:14 AM Hou Tao <houtao@xxxxxxxxxxxxxxx> wrote:
>
> From: Hou Tao <houtao1@xxxxxxxxxx>
>
> Various benchmarks define its specific metrics in bench_res. This not
> only bloats the size of bench_res, but also make the code that tries to
> reuse the space hard to follow.
>
> So move benchmark specific metrics into stand-alone structs and pack
> these structs into a union to reduce the size of bench_res.
>
> Signed-off-by: Hou Tao <houtao1@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux