Linux CPU utilization: Difference between revisions
m
→{{header|C}}: Remove vanity tags
(Added Go) |
Thundergnat (talk | contribs) m (→{{header|C}}: Remove vanity tags) |
||
Line 60:
On Linux, sleep accepts seconds, on Windows, milliseconds. So if you are planning to test this on Windows and then port it to Linux .....The implementation below has been tested on a Linux machine.
<lang C>
#include<stdlib.h>
#include<string.h>
|