:::


Browsing this Thread:   1 Anonymous Users






SAMC21如何計算時間
#1
新會員
新會員


查看用戶資訊
在標準C可利用下面方式計量時間:
clock_t    startstop;
start clock();
Func();
stop clock();
float take_time = ((float)(stop-start))/CLOCKS_PER_SEC;


請問SAMC21中有等校於clock()、CLOCKS_PER_SEC的函式或macro可以使用嗎?

發表於: 12/5 9:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]