We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [profiling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
986 views

Profiling optimized C code using gprof

I have a simple C code with many function calls, which I profiled using gprof. ...
4
votes
1answer
175 views

Using PAPI in PETSc code

I am trying to count the number of cache misses, total cycles, etc. per iteration of a for loop inside MatMult_SeqSBAIJ_2() . I'...
4
votes
1answer
117 views

Determining Hardware Bottlenecks

I know this question is somewhat familiar to my previous question found here, however I am now coming at it from a slightly different and more general angle. Let's say I have a code whose runtime is ...
3
votes
3answers
281 views

How do I get reliable timing data for time spent in function calls in my code?

This question is a follow-up to Fortran: Best way to time sections of your code?. If I want to time functions in my code, I know I could use gprof or kcachegrind. I also know that the results from ...
14
votes
3answers
6k views

Fortran: Best way to time sections of your code?

Sometimes while optimizing code it is required to time certain portions of the code, I have been using the following for years but was wondering if there is a simpler/better way to do it? ...