• I
    drm/radeon/kms: cleanup benchmark code · cc340515
    Ilija Hadzic 提交于
    factor out repeated code into functions
    fix units in which the throughput is reported (megabytes per second
    and megabits per second make sense, others are kind of confusing)
    make report more amenable to awk and friends (e.g. whitespace is
    always the separator, unit is separated from the number, etc)
    add #defines for some hard coded constants
    
    besides "beautification" this reorg is done in preparation
    for writing more elaborate benchmarks
    Signed-off-by: NIlija Hadzic <ihadzic@research.bell-labs.com>
    Signed-off-by: NDave Airlie <airlied@redhat.com>
    cc340515
radeon_benchmark.c 4.7 KB