Linux CPU utilization: Difference between revisions

m
→‎{{header|C}}: Remove vanity tags
(Added Go)
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>
/*Abhishek Ghosh, 10th October 2017*/
 
#include<stdlib.h>
#include<string.h>
10,327

edits