[igt-dev] [PATCH i-g-t 2/2] lib/i915/perf: break generated code in separate files

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Mar 10 16:31:59 UTC 2020


On 10/03/2020 18:29, Lionel Landwerlin wrote:
> Initially all the generated code was per generation. Eventually we
> grouped it into a single file to reuse as much as possible equation
> code (this reduce binary size by a factor). So many equations are just
> the same from generation to generation.
>
> But this generated file is 200k lines long...
>
> This change puts all the metrics into a single file and then breaks
> down the metric sets per generation.


I meant equations into a single file and then ....


-Lionel


>
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>



More information about the igt-dev mailing list