Discussion:
PAPI for FreeBSD
(too old to reply)
Harald Servat
2007-05-18 10:38:53 UTC
Permalink
Hello,

I'm working on the port of PAPI (Performance API) library to FreeBSD using
Joseph Koshy's hwpmc / libpmc (see hwpmc(4) / pmc(3)).

From the PAPI homepage:
PAPI aims to provide the tool designer and application engineer with a
consistent interface and methodology for use of the performance counter
hardware found in most major microprocessors. PAPI enables software
engineers to see, in near real time, the relation between software
performance and processor events.

I'm searching some testers for my first version of the port because I'm
only able to test it on my laptop (FreeBSD 6.2 / Pentium M) and it would be
great to test it in other kind of processors (now it's only supported on
Pentium 2/3/4/Celeron AMD K7/8) before releasing it (and providing my
patches to PAPI developers).
Anyone interested on doing this test, please, send me an email and I'll
reply you with some instructions to follow.

Thank you very much.
--
_________________________________________________________________
Empty your memory,
with a free()...
like a pointer!

If you cast a pointer to an integer,
it becomes an integer,
if you cast a pointer to a struct,
it becomes a struct.

The pointer can crash...,
and can overflow.

Be a pointer my friend...
Benjamin Lutz
2007-05-18 11:59:47 UTC
Permalink
Post by Harald Servat
I'm searching some testers for my first version of the port because
I'm only able to test it on my laptop (FreeBSD 6.2 / Pentium M) and
it would be great to test it in other kind of processors (now it's
only supported on Pentium 2/3/4/Celeron AMD K7/8) before releasing it
(and providing my patches to PAPI developers).
Anyone interested on doing this test, please, send me an email and
I'll reply you with some instructions to follow.
I've got a Core 2 Duo/Asus P5B Deluxe system here running FreeBSD 6.2
here. If that's useful to you I'm willing to do some tests.

Cheers
Benjamin
Harald Servat
2007-05-18 13:24:48 UTC
Permalink
I'm sorry Benjamin, but libpmc/hwpmc (and my version of PAPI by extension)
does not support Core Duo processors nowadays.

Maybe Joseph Koshy (the person who is responsible for libpmc/hwpmc) could
give you some info on what he needs to support them.

Thank you,
Post by Benjamin Lutz
Post by Harald Servat
I'm searching some testers for my first version of the port because
I'm only able to test it on my laptop (FreeBSD 6.2 / Pentium M) and
it would be great to test it in other kind of processors (now it's
only supported on Pentium 2/3/4/Celeron AMD K7/8) before releasing it
(and providing my patches to PAPI developers).
Anyone interested on doing this test, please, send me an email and
I'll reply you with some instructions to follow.
I've got a Core 2 Duo/Asus P5B Deluxe system here running FreeBSD 6.2
here. If that's useful to you I'm willing to do some tests.
Cheers
Benjamin
--
_________________________________________________________________
Empty your memory,
with a free()...
like a pointer!

If you cast a pointer to an integer,
it becomes an integer,
if you cast a pointer to a struct,
it becomes a struct.

The pointer can crash...,
and can overflow.

Be a pointer my friend...
Loading...