#include <unistd.h> int main() { for( int i = 0; i < 10000; i++ ) { usleep(1); } } 輸出: $ time ./test real 0m10.124s user 0m0.001s sys 0m0.
確定! 回上一頁