[Pixman] [PATCH] test: Add a new benchmarker targeting affine operations
ppaalanen at gmail.com
Wed Apr 15 02:09:16 PDT 2015
On Tue, 14 Apr 2015 15:16:01 -0400
"Lennart Sorensen" <lsorense at csclub.uwaterloo.ca> wrote:
> On Tue, Apr 14, 2015 at 07:20:50PM +0100, Ben Avison wrote:
> > On Tue, 14 Apr 2015 11:28:51 +0100, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> > >you asked about reading the cache sizes; I have no idea about that.
> > >
> > >>+#define PAGE_SIZE (4 * 1024)
> > >
> > >Hm, sysconf(3) has PAGESIZE query, but I don't know if it is
> > >appropriate here. I also tend to forget that Windows might be relevant
> > >for Pixman.
> > I see the front page of http://www.pixman.org/ says "many platforms,
> > including Linux, BSD Derivatives, MacOS X, and Windows" so I expect it
> > would be a requirement, yes.
> How about using GetSystemInfo on windows and sysconf on the other
Maybe, but at least I can only test on Linux. I can't review the
OS-specifics of a non glibc/linux system either.
Which is why I tried to ask on IRC if anyone was running anything like
a CI build bot for Pixman...
More information about the Pixman