uProf provides time information at module level, process level, thread level and function level. All of them are programming language or system defined levels. Can we have some time information about some user defined code-block level, where code block can contain single line of instruction or multiple function calls and/or multiple lines of instructions. “Task” defines that code-block and is identified by a unique name. A domain like namespace, helps to organize tasks, by qualifying the task with domain names. In other words, domain is container of tasks.