Show Time and Memory used in xcode?

If anyone uses mac, can you tell me how to see time and memory my code is using in xcode