source:
doc/theses/colby_parsons_MMath/benchmarks/actors/cfa/bench.hfa
| Last change on this file was f945fa7, checked in by , 13 hours ago | |
|---|---|
|
|
| File size: 181 bytes | |
| Rev | Line | |
|---|---|---|
| [4066bd2] | 1 | #include <time.hfa> |
| 2 | ||
| 3 | static inline uint64_t bench_time() { | |
| 4 | struct timespec ts; | |
| 5 | clock_gettime( CLOCK_REALTIME, &ts ); | |
| 6 | return 1000000000LL * ts.tv_sec + ts.tv_nsec; | |
| 7 | } // bench_time |
Note:
See TracBrowser
for help on using the repository browser.