Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.

ITT collection control bindings

Rollin_T_
Beginner
535 Views

Thought I would share a little package that exposes the ITT collection control API bindings in Python.  This allows you to run VTune Amplifier but just collect data you need from specific parts of the code.  Hopefully this saves someone else a little bit of time!  Available at this github repository.

import itt
itt.pause()
# ... some uninteresting code
itt.resume()
# ... some more interesting code
itt.detach()
# ... some uninteresting code again...

Comments welcome!

Rollin

0 Kudos
1 Reply
gaston-hillar
Valued Contributor I
535 Views

Rollin,

Thanks for sharing this. Cool. I'll definitely check ITT.

 

0 Kudos
Reply