Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Memory profiling

gdenneul edited this page Nov 28, 2014 · 9 revisions

A memory profiling of the parameter-framework has been performed using Valgrind's Massif tool while running the Getting started tutorial. Here its visualization using Massif Visualizer:

Massif visualization of the memory allocated by parameter-framework

Obtained using:

valgrind --tool=massif --time-unit=ms --detailed-freq=1 --depth=100 \
test-platform ~/pfw_example/ParameterFrameworkConfiguration.xml & \
sleep 0.4; sh run_tuto.sh 

run_tuto.sh contains:

remote-process localhost 5001 createExclusiveSelectionCriterionFromStateList Mood mad sad glad
sleep 0.1
remote-process localhost 5001 start
sleep 0.1
remote-process localhost 5000 listCriteria
sleep 0.1
remote-process localhost 5000 dumpDomains
sleep 0.1
remote-process localhost 5001 setCriterionState Mood glad
sleep 0.1
remote-process localhost 5001 applyConfigurations
sleep 0.2
remote-process localhost 5001 exit

Clone this wiki locally