language/units: add microcycle unit for core time

This commit is contained in:
Sebastien Bourdeauducq 2014-08-18 22:52:54 +08:00
parent 56ccd054eb
commit 331dbc971b

View File

@ -120,3 +120,6 @@ def _register_unit(name, prefixes):
_register_unit("s", "pnum_")
_register_unit("Hz", "_kMG")
microcycle_unit = Unit("microcycle")
microcycle = Quantity(1, microcycle_unit)