这是一个本人学习 csapp 的 learning 库
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

22 satır
542 B

1 yıl önce
  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();