conduct your cpu time

a simple program to conduct your cpu time curve
403 Downloads
Updated 6 Dec 2010

View License

This is a popular problem in MSRA interview.
interviewer:
How do you know about the operation system?
interviewee:
Very!......
interviewer:
Well, can you make the cpu time curve act as a straight line?
can you make it act as a sin curve?
interviewee:
.....
Example:
%complie:
mex cConductCpuTime.cpp
%
conductCpuTime(200, 300, 5);
Then press Ctrl+Alt+Delete to check the cpu time Curve

Cite As

Su Dongcai (2026). conduct your cpu time (https://uk.mathworks.com/matlabcentral/fileexchange/29633-conduct-your-cpu-time), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulation in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0