diff options
author | Andrew Waterman <aswaterman@gmail.com> | 2017-01-05 15:14:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-05 15:14:28 -0500 |
commit | d69f4cb8653f4974374f98debf9ce2cc820a2b57 (patch) | |
tree | cc6889cdc8877bcf4b1a8e8760c773e9ec0ef76f /bsp/env/freedom-e300-hifive1/platform.h | |
parent | e641c398daa91d896ce37fbb73015c054a4e0b21 (diff) | |
parent | b8057b191231dea4b973f1d5066f59afa3881dba (diff) |
Merge pull request #38 from sifive/benchmarking
Benchmarking
Diffstat (limited to 'bsp/env/freedom-e300-hifive1/platform.h')
-rw-r--r-- | bsp/env/freedom-e300-hifive1/platform.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bsp/env/freedom-e300-hifive1/platform.h b/bsp/env/freedom-e300-hifive1/platform.h index eca708e..63efc9e 100644 --- a/bsp/env/freedom-e300-hifive1/platform.h +++ b/bsp/env/freedom-e300-hifive1/platform.h @@ -126,6 +126,8 @@ #include "hifive1.h" -uint32_t get_cpu_freq(); +unsigned long get_cpu_freq(void); +unsigned long get_timer_freq(void); +uint64_t get_timer_value(void); #endif /* _SIFIVE_PLATFORM_H */ |