# 2016q3 Homework1 (compute-pi) contributed by <`kevinbird61`> ## 執行程式 - 程式: - computepi.c : 實作4種不同計算pi的方式 - time_test.c : 負責個別測試每個不同實作的執行,利用makefile中-D{define}來切換 - benchmark_clock_gettime.c : 輸出每種方式執行時間,利用makefile來把stdout導入檔案中。這邊可以看到利用makefile中的for來讓程式進行多次並且可以傳入不同argument 可以看到之後輸出的是一個csv檔,利用gnuplot來導入做效能比較的圖片輸出  ***每次畫出來的圖會有些許不同(openmp)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up