���遣���gettimeofday��10000��循�����屑�时�模�����
gettimeofday(&before, NULL );
for( i = 0; i<10000; i++ ) {
doTest();
}
gettimeofday(&after, NULL );
应�貌��������诩�时���碌����叱������俣��薹�����10ms
�� �� judicious (�薹������) �拇������到: ��
: �也��������������玫募�时���������,也������说��jiffies�����
: ��������玫�����时���卸系姆�����时�模����染���10ms������...
--
[m[32m�� ��源:��BBS 水木�华站 http://smth.org��[FROM: 218.242.253.*][m
CNUsenet