improving the code for fixing ticket 1356
adding output of new profiling mechanism and modifying final message
removed old comments and CUDA_LAUNCH_BLOCKING=1 from cpu profiling command
adding CPU and GPU used in profiling
correcting minor typo
Merge pull request #2137 from aalmah/ticket_1356

fixing #1356