@landley You need to be able to put code in userspace that's capable of reading hw clock registers and computing time. This is going to be highly model specific. It probably needs to be conditioned on the dt nodes for jcore pit if you're talking about doing jcore one. I don't know what sh4 would look like or if it's possible.