📄 clock.h
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -