write a function to return the CPU idle percentage, like performance in Windows Task Manager.
l*c
2 楼
nobody like to give an answer???
P*l
3 楼
Start a process with very low priority. poll how this process is scheduled within a small time frame. I didn't check the standard way in text book.
【在 l******c 的大作中提到】 : write a function to return the CPU idle percentage, like performance in : Windows Task Manager.
r*o
4 楼
why very low priority?
【在 P********l 的大作中提到】 : Start a process with very low priority. poll how this process is scheduled : within a small time frame. I didn't check the standard way in text book.
B*1
5 楼
which company ask you this quesiton? I was ask a very similar question during Apple onsite inteview.
【在 l******c 的大作中提到】 : write a function to return the CPU idle percentage, like performance in : Windows Task Manager.
l*c
6 楼
a mid size semiconductor comapny, cannot disclose the name. it took me some time to answer, not perfect answer I prepared lots algorithm questions, but apparently, this is not an algorithm....
【在 B*******1 的大作中提到】 : which company ask you this quesiton? : I was ask a very similar question during Apple onsite inteview.