Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

22 lignes
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();