I have been working on writing a tcl microbenchmarking extension which will give access to cpu hardware counters as part of Google soc 2011. I would be thankful if you could review my code.
My code repository is located at http://code.google.com/p/tcl/source/browse/.
You can find some details about my implementation at http://code.google.com/p/tcl/wiki/DesignDocument?ts=1312460890&updated=DesignDocument.
Hoping to get some feedback to make my code better,