separate cpu and memory profiling flags

Merged Jake Taylor requested to merge hotfix/MemProfiling into release

Merge request reports