Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] A question regarding starpu_fxt_autostart_profiling function

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] A question regarding starpu_fxt_autostart_profiling function


Chronologique Discussions 
  • From: Mirko Myllykoski <mirkom@cs.umu.se>
  • To: Starpu Devel <starpu-devel@lists.gforge.inria.fr>
  • Subject: [Starpu-devel] A question regarding starpu_fxt_autostart_profiling function
  • Date: Tue, 29 Jan 2019 10:24:36 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=mirkom@cs.umu.se; spf=Pass smtp.mailfrom=mirkom@cs.umu.se; spf=None smtp.helo=postmaster@mail.cs.umu.se
  • Ironport-phdr: 9a23:3/oDdxIRO7Qjzi5hTdmcpTZWNBhigK39O0sv0rFitYgeKvjxwZ3uMQTl6Ol3ixeRBMOHs6IC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwZFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QKsqUjq+8ahkVB7oiD8GNzEn9mHXltdwh79frB64uhBz35LYbISTOfFjfK3SYMkaSHJOUclNWCJPDIOyYZUSAeQCMudXoZLwp0cMoBu8GQWgGPnixiFOi3Tr3aM6yeMhEQTe0QInHtIOqnfUrNLoP6kVUeG1yK3IzDXAb/NRwjf964nIeQ0mrPGJXLJwa8nRyU4qFw7eklqQspbpPy6Q1uQQqWSb9PRvWPuphmU6qA9xuiCiytoih4XVnI4Z1F7J+CFjzIs6OdG0UlB3bN68HJdOqy2WK5Z6T8YjTm5zpCo3z6MJtJu0cSQWx5kr2xvSZvmGfoWL5B/oSfyfLi1ihH1/fbKynxay/lakyu37TsS01UxFritBktXWqn8NzAbf6tWCSvtg5EuhwiiA2xjS6uFCP080ibLWJ4Mvz7IsjJYfr0rOEyvslEj5kKOabFso9+iw5+TieLrmp5ucN4FuigH5N6Qjgsm/AeUiMggNWGib/P+x26H4/UHjXbVKi+A2nrPCsJ/EPcgbvLK2AxdJ0oY/7BayFyym0MgCknkdNFJFZQuLgJX3NFHQPv/4Ceyyg1CtkDdw2/DGJaftAprDLnjEirfhcqhy51RdyAo119Bf5ohbBqsPIPLpCQfNs4njEhYjKxH87+v5BdE1gpgCUHiXH+qVPb3ftXeM5/kzOK+DaogPtzu7Kv4/5veog2VvynEHeqz8+JoNa3fwO+ViJ1SaZmHvg59VFGYQvQ07ZOfxzkCHTHhIaiDhDOoH+jgnBdf+Xs/4TYe3jenEhX/jR8wEViV9ElmJVEzQWcCBUvYIZjiVJ5Y4wDcfE6WkVsk62EP37VOo+/9cNuPRvxYgm9f7ztEsvr/Yjlcv8CEyFMnPizjQHVExpXsBQnoN5I46oUF5zQ7dg61xgvgeHscV+vZUFBw3Z8bR
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Hi,

I have situation where I am calling the starpu_init and starpu_shutdown functions several times. I would like to enable FxT traces during one of these init-shutdown pairs.

I believe that the starpu_fxt_autostart_profiling function should do the trick:

starpu_fxt_autostart_profiling(0);
starpu_init(...);
this_should_not_generate_traces();
starpu_shutdown();

starpu_fxt_autostart_profiling(1);
starpu_init(...);
this_should_generate_traces();
starpu_shutdown();

starpu_fxt_autostart_profiling(0);
starpu_init(...);
this_should_not_generate_traces();
starpu_shutdown();

Is this the correct way to use the function?

The problems is that the last init-shutdown pair seems to overwrite the traces from the middle one.

I am using StarPU 1.2.6.

- Mirko




Archives gérées par MHonArc 2.6.19+.

Haut de le page