fixed declaration of methods on Profiler classes
Merge pull request #581 from livioribeiro/fix_profiler_method_declaration

fixed declaration of methods on Profiler classes