Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

22 řádky
542 B

před 6 měsíci
  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();