Linux下的函數執行時間的統計方法

如何測試某個函數的執行時間是作實驗時常常用到的功能,在此比較Linux下的測試函數,主要是其精確度。咱們採用統一的測試標準程序(standard.c): 函數 #include <stdio.h>oop #define MAX 1000    /* the loop count */測試   /* function: do loop operationget  * input: NULLinput
相關文章
相關標籤/搜索