Re: [FFmpeg-devel] [PATCH 2/6] checkasm: use pointers for start/stop functions

2023-07-19 Thread Lynne
Jul 19, 2023, 21:56 by r...@remlab.net: > Linux and MacOS kernel performance APIs are not always available. > This introduces function pointers so that we can fall back to other > timing functions (in later changesets). > > If AV_READ_TIME is the only configured timer, then this sticks to > inline

[FFmpeg-devel] [PATCH 2/6] checkasm: use pointers for start/stop functions

2023-07-19 Thread Rémi Denis-Courmont
Linux and MacOS kernel performance APIs are not always available. This introduces function pointers so that we can fall back to other timing functions (in later changesets). If AV_READ_TIME is the only configured timer, then this sticks to inline assembler since there will be nothing to fall back