Is there any direct linux function call to get CPU usage in run time for a specific thread by passing thread ID? 
If not function call, is there any other possible way to achieve the same?

I have an application written in c which is running on a linux platform. And it has multi threads running in parallel. In which i need to identify the CPU usage of each thread. For that i need to enhance my code with a system call which gives me the CPU usage for a specific thread. Consider i have all the thread IDs in a structure ready in the run time.