<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools.git/enable-cycle-counter.district10, branch master</title>
<subtitle>kvm-run-kernel.sh and other utilities</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/tools.git/'/>
<entry>
<title>District10: enable the cycle counter on all processors</title>
<updated>2010-11-09T22:08:28+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2010-11-09T22:08:28+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/tools.git/commit/?id=1081b867aec7a716f7a0c60ec5689487d12b4720'/>
<id>1081b867aec7a716f7a0c60ec5689487d12b4720</id>
<content type='text'>
Do this by forcing a perf task on each CPU.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do this by forcing a perf task on each CPU.
</pre>
</div>
</content>
</entry>
<entry>
<title>add a script to enable the CCNT register on our MPCore box</title>
<updated>2010-11-04T16:25:54+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2010-11-04T16:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/tools.git/commit/?id=5925a6033bef2cec578f5e4c6a0f774a9ff1ba4f'/>
<id>5925a6033bef2cec578f5e4c6a0f774a9ff1ba4f</id>
<content type='text'>
The problem is that the CCNT register is not incremented unless
specifically enabled on our particlar hardware. Just enabling the
register during boot is insufficient since Linux's performance counter
subsystem claims the hardware and messes with the control flags.

We could either take over the hardware from Linux's performance
counter framework, or trick Linux in turning on the cycle counter for
us. The former approach require caryying ugly kernel patches, the
latter is this simple script...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem is that the CCNT register is not incremented unless
specifically enabled on our particlar hardware. Just enabling the
register during boot is insufficient since Linux's performance counter
subsystem claims the hardware and messes with the control flags.

We could either take over the hardware from Linux's performance
counter framework, or trick Linux in turning on the cycle counter for
us. The former approach require caryying ugly kernel patches, the
latter is this simple script...
</pre>
</div>
</content>
</entry>
</feed>
