I know I could wrap COST_TIME into structs, but I'd have to redefine a ton of standard operations (multiply/divide by ints, doubles, etc.). It does give me close control over what is and what is not allowed (eg. sum/minus only with own type).
Are there other options? These are low level types so they are performance critical.