Update benchmark statistical time function
authorMacChen02 <58972037+MacChen02@users.noreply.github.com>
Mon, 2 Mar 2020 06:36:27 +0000 (14:36 +0800)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2020 06:36:27 +0000 (14:36 +0800)
commit917d243580701952a25601f854b0232a2dade8fb
tree905c19fb98cd304a7e5ad89b914ac55e5a09e374
parent445ca2f41833f5d2c1cef3057384aae49ff6543f
Update benchmark statistical time function

The function gettimeofday does not count the time,when testing the axpy small data volume use case.
Use the function clock_gettime to replace the gettimeofday function to count the time.
benchmark/axpy.c