huttered40 / critter

Critical path analysis of MPI parallel programs
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

shared library support #60

Open solomonik opened 4 years ago

solomonik commented 4 years ago

Add capability to build .so lib.

huttered40 commented 4 years ago

@solomonik Extending critter's support to pyCTF, I still think that critter needs to expose two functions at the python level: start(size_t) and stop(size_t,size_t). Otherwise, even if CTF can call start/stop inside its world creation and destruction, the data will add up across the entire program. As an example, there would be no way to use critter to accurately profile two different kernels in the same program if the start/stop only happen when the world object is created and destroyed.

If one simply wanted to profile everything in the entire file, then a pythonized critter::start/stop wouldn't be necessary of course.