[FFmpeg-devel] [PATCH v2 3/4] tests/checkasm: Fix build error when enable linux perf on Android
Zhao Zhili
quinkblack at foxmail.com
Fri Jun 7 12:08:04 EEST 2024
> On Jun 7, 2024, at 16:38, Martin Storsjö <martin at martin.st> wrote:
>
> On Fri, 7 Jun 2024, Martin Storsjö wrote:
>
>> On Fri, 7 Jun 2024, Zhao Zhili wrote:
>>
>>> From: Zhao Zhili <zhilizhao at tencent.com>
>>> B0 is defined by system header.
>>
>> Can you add more details about which header defines this? (I did a quick grep in a copy of the android NDK, and found it in asm-generic/termbits-common.h.)
>
> Btw, in addition to this, is perf actually usable for doing benchmarking with checkasm on android, or is this just to avoid build errors?
There is a builtin cmd simpleperf on Android, the source code is at [1], which is a simplified version of
perf on Linux.
I have tested checkasm with linux perf on Android, the result seems reliable. I’m not sure whether there is
any difference between perf on Android and on normal linux.
https://android.googlesource.com/platform/system/extras/+/refs/heads/main/simpleperf/main.cpp#29
>
> // Martin
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list