Julia interface for the AMDuProf Application programming Interfaces
When actually using AMDuProf tools to profile your application, it's recommended to start the profiler in paused mode, and use AMDuPerf.jl to only instrument the parts of your code that you are interested in. This can be done as follows:
using AMDuProf
# warm-up, compile code, etc
AMDuProf.resume()
# do interesting things here
AMDuProf.pause()
# convenience macro for the above:
AMDuProf.@collect begin
# ...
end