summaryrefslogtreecommitdiff
path: root/bsp/env/coreplexip-e21-arty
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-01-03 17:45:33 -0800
committerAndrew Waterman <andrew@sifive.com>2017-01-03 18:53:28 -0800
commit005b1a8f84ff743710ebd693b70d208da583098d (patch)
treeebc479178e5e74a3a7ecd5e6e99e3b1cc2a06fb9 /bsp/env/coreplexip-e21-arty
parent2398dfda399f445cf114e29b61d9331fddb09b4e (diff)
Regularize timing code
Provide get_timer_value() and get_timer_freq() and use them. On Arty, they use mcycle and the known-fixed core frequency, whereas on HiFive1 they use mtime and the known-fixed mtime frequency.
Diffstat (limited to 'bsp/env/coreplexip-e21-arty')
0 files changed, 0 insertions, 0 deletions