I 'd like to know how to calculate the percentage a certain thread consumes the system resource
Thanks