July 13th, 2007 by mprevot
pmc(3) c functions are not callable from python scripts, so I use the module ezpyinline.py `pkg_add – r py24-ezpyinline` that precompile c functions but there is not preprocess, so I use `gcc – E /usr/src/lib/libpmc/libpmc.c > freebsdpmc.py` and add python code around this.
A main() function is called if freebsdpmc.py is fired as a script.
I know others are working the hard way to make the same module, with docstrings etc.
mprevot@
Posted in code | No Comments »
June 28th, 2007 by mprevot
The performance monitoring counters API pmc(3) of FreeBSD 6-stable doesn’t support yet Core 2 duo processors, so I can’t work with FreeBSD 6-stable/Parallels/recent Macbook as I thought some time ago. Furthermore Parallels doesn’t support Symmetric MultiProcessor (SMP) yet. Hence I’ll work mainly on a FreeBSD 6-stable/AMDX2 station.
mprevot@
Posted in Thought | No Comments »
June 28th, 2007 by mprevot
In the recent weeks, I was really busy between the university and research programs both in France and Belgium, dramatic art scenes for the end of the year, the opera troup – we played Die Zauberflöte auf Mozart – and a photograph competition (Louis Lumière).
Nowadays I’m getting familiar with Python and wxPython, and building an experimental primitive graphical user interface (GUI).
mprevot@
Posted in Blah, Thought | No Comments »
April 23rd, 2007 by mprevot
I’m so happy to work on FreeBSD thanks to the Google SoC grant. I often have ideas I would commit, but time is missing. Visit on the FreeBSD wiki the SoC 2007 page, the pmcgui page and mine.
mprevot@
Posted in Blah | No Comments »