sw: added timer in ms

Signed-off-by: Vera Filippova <oakjumper@gmail.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>