clock.h

来自「ICS 课程的Lab7」· C头文件 代码 · 共 23 行

H
23
字号
/* Routines for using cycle counter *//* Start the counter */void start_counter();/* Get # cycles since counter started */double get_counter();/* Measure overhead for counter */double ovhd();/* Determine clock rate of processor (using a default sleeptime) */double mhz(int verbose);/* Determine clock rate of processor, having more control over accuracy */double mhz_full(int verbose, int sleeptime);/** Special counters that compensate for timer interrupt overhead */void start_comp_counter();double get_comp_counter();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?