I need to measure the CPU Load with C++



I need to measure the CPU Load with C++ ,

can I use thread and sleep istruction?

or I need other istruction?




.