選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

22 行
542 B

  1. /* Routines for using cycle counter */
  2. /* Start the counter */
  3. void start_counter();
  4. /* Get # cycles since counter started */
  5. double get_counter();
  6. /* Measure overhead for counter */
  7. double ovhd();
  8. /* Determine clock rate of processor (using a default sleeptime) */
  9. double mhz(int verbose);
  10. /* Determine clock rate of processor, having more control over accuracy */
  11. double mhz_full(int verbose, int sleeptime);
  12. /** Special counters that compensate for timer interrupt overhead */
  13. void start_comp_counter();
  14. double get_comp_counter();