<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Greg,<br>
<br>
Sounds good!<br>
<blockquote type="cite">I believe this requires running the
feature extractor across all the current benchmarks. If anyone
can or has already done this and can send me the data it shall
be appreciated. Otherwise I shall have a look into it Monday!</blockquote>
Nope, no-ones done this yet, I think. You'll have to clone and
build the the mageec repository, then compile the benchmarks with
the mageec-gcc plugin:<br>
<br>
To build the mageec repository (with a temporary fix allowing it
to be built)<br>
<tt> git clone <a class="moz-txt-link-freetext" href="http://github.com/jpallister/mageec">http://github.com/jpallister/mageec</a></tt><tt><br>
</tt><tt> cd mageec</tt><tt><br>
</tt><tt> git checkout temporary_fix</tt><tt><br>
</tt><tt> mkdir build</tt><tt><br>
</tt><tt> cd build</tt><tt><br>
</tt><tt> ../configure</tt><tt><br>
</tt><tt> make</tt><tt><br>
</tt><tt> sudo make install</tt><tt><br>
</tt><br>
Use the plugin:<br>
<tt> gcc -fplugin=mageec test.c</tt><tt><br>
</tt><br>
This will output some stuff (which is likely to change as Simon
works on the plugin):<br>
<tt> Current Function: fn</tt><tt><br>
</tt><tt> ( ft1) Basic Block Count : 6</tt><tt><br>
</tt><tt> ( ft2) BB with 1 successor : 4</tt><tt><br>
</tt><tt> ( ft3) BB with 2 successor : 1</tt><tt><br>
</tt><tt> ( ft4) BB with > 2 successor : 0</tt><tt><br>
</tt><tt> ( ft5) BB with 1 predecessor : 4</tt><tt><br>
</tt><br>
With BEEBS you should be able to give this to make in CFLAGS, e.g.
make CFLAGS="-fplugin=mageec"<br>
<br>
<br>
Hope this helps,<br>
James<br>
<br>
On 27/07/14 17:42, Greg Cawthorne wrote:<br>
</div>
<blockquote
cite="mid:CAN4+xokhk+mtwkBAoiXz7j4ymjQ=1oBcGQ8Q4c4f3tr23DgtGg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hello team!<br>
<br>
</div>
I have been working on doing some Principle Component
Analysis of the features present in the current feature set.
I have created a program which is ready to be used to
evaluate beebs!<br>
<br>
Now I need a comprehensive set of feature vectors and which
program & function they came from (as we're doing it on
a function by function basis). Once I have this data I can
perform PCA and then see which features are the most
representative of the programs and also look to see if
different types of benchmark have distinctly different
important features.<br>
<br>
</div>
I believe this requires running the feature extractor across
all the current benchmarks. If anyone can or has already done
this and can send me the data it shall be appreciated.
Otherwise I shall have a look into it Monday!<br>
<br>
</div>
Regards, Greg.<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mageec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mageec@mageec.org">mageec@mageec.org</a>
<a class="moz-txt-link-freetext" href="http://mageec.org/cgi-bin/mailman/listinfo/mageec">http://mageec.org/cgi-bin/mailman/listinfo/mageec</a>
</pre>
</blockquote>
<br>
</body>
</html>