Acceleo features a profiler that can create a profiling model of the generation. In this profiling model, you can find all the instructions that have been executed, the number of time that they have been executed and the time the generation spent in those instruction. The profiler is accessible thanks to the "Profile As..." instead of "Run As..." menu and starting with Acceleo 3.0.2 and Acceleo 3.1.0 the profiler will directly be accessible from all launch configurations and also programmaticaly.

+

Acceleo features a profiler that can create a profiling model of the generation. In this profiling model, you can find all the instructions that have been executed, the number of time that they have been executed and the time the generation spent in those instruction. The profiler is accessible thanks to the "Profile As..." (instead of "Run As...") menu and starting with Acceleo 3.0.2 and Acceleo 3.1.0 the profiler will directly be accessible from all launch configurations and also programmaticaly.

−

/!\ in construction /!\

+

[[Image:Acceleo-traceability-launch.png|thumb|none|600px|The new launch configuration with a checkbox to activate the profiling]]

+

+

In order to activate the profiling with the new launch configuration menu, you just have to checked the profiling checkbox and then you can enter the path where the profiling model will be saved.

+

+

== The profiling model ==

+

You can see in this picture the result of a generation with the profiling activated.

+

+

[[Image:Acceleo-profiling-model.png|thumb|none|800px|The profiling model of a generation]]

+

+

The profiling model is an EMF model and as such, it is compatible with all the regular EMF tooling including, of course, Acceleo. This means that you can use that profiling model as an input for a generation in order to create a report.

{{Acceleo-index}}

{{Acceleo-index}}

+

+

[[Category:Modeling]]

+

[[Category:M2T]]

+

[[Category:Acceleo]]

Latest revision as of 14:08, 12 January 2011

Profiler

Acceleo features a profiler that can create a profiling model of the generation. In this profiling model, you can find all the instructions that have been executed, the number of time that they have been executed and the time the generation spent in those instruction. The profiler is accessible thanks to the "Profile As..." (instead of "Run As...") menu and starting with Acceleo 3.0.2 and Acceleo 3.1.0 the profiler will directly be accessible from all launch configurations and also programmaticaly.

The new launch configuration with a checkbox to activate the profiling

In order to activate the profiling with the new launch configuration menu, you just have to checked the profiling checkbox and then you can enter the path where the profiling model will be saved.

The profiling model

You can see in this picture the result of a generation with the profiling activated.

The profiling model of a generation

The profiling model is an EMF model and as such, it is compatible with all the regular EMF tooling including, of course, Acceleo. This means that you can use that profiling model as an input for a generation in order to create a report.