From cTuning.org

(Difference between revisions)
Jump to: navigation, search
m
Line 16: Line 16:
| This plugin records the executed passes per function in external files "ici_passes_function.<function_name>.txt".
| This plugin records the executed passes per function in external files "ici_passes_function.<function_name>.txt".
| [http://sourceforge.net/project/showfiles.php?group_id=180190&package_id=280579&release_id=607203 Download]
| [http://sourceforge.net/project/showfiles.php?group_id=180190&package_id=280579&release_id=607203 Download]
-
| [[CTools:ICI:Dev:Source|Source at GIT]]<br>Browse the code:[http://www.gitorious.org/projects/gcc-ici/repos/mainline/trees/master/plugins/examples/save_executed_passes/ master branch]<br>
+
| [[CTools:ICI:Dev:Source|Source at GIT]]
 +
Browse the code:[http://www.gitorious.org/projects/gcc-ici/repos/mainline/trees/master/plugins/examples/save_executed_passes/ master branch]
[http://www.gitorious.org/projects/gcc-ici/repos/mainline/trees/gcc-submission/plugins/examples/save_executed_passes/ gcc-submission branch]
[http://www.gitorious.org/projects/gcc-ici/repos/mainline/trees/gcc-submission/plugins/examples/save_executed_passes/ gcc-submission branch]
|-
|-

Revision as of 15:03, 28 March 2009

Navigation: cTuning.org > CTools > ICI

Interactive Compilation Interface plugins:

Starting with GCC ICI 2.0, the example plugins are available in the Git repository in the plugins directory, alongside the compiler source.

Plugin name: Description: ICI 1.0: ICI 2.0:
save_executed_passes This plugin records the executed passes per function in external files "ici_passes_function.<function_name>.txt". Download Source at GIT

Browse the code:master branch gcc-submission branch

use_pass_order This plugin substitutes original pass sequence with the one read from either external files "ici_passes_function.<function_name>.txt" or from the global file "ici_passes_all.txt" or environment variable ICI_PASSES_ALL (passes are separated by comma) thus allowing external pass selection and reordering. Download Source at GIT
Browse the code:master branch

gcc-submission branch

save_executed_passes_with_time This plugin times the execution of the passes. Download Source at GIT
Browse the code:master branch

gcc-submission branch

extract_program_static_features This plugin extracts program static features per function as vectors and saves them into "ici_features_function.<function_name>.pass_to_extract>.txt"

Enrivonment variables:
ICI_PROG_FEAT_PASS = <pass_to_extract> - after this pass extract features

This pass calls ml-feat-proc routine that communicates with Prolog (XSB) to produce feature vector

Remark: This plugin works only with MILEPOST GCC v1.0 or higher.
Download Source at GIT
Locations of visitors to this page