cpusleep plugin: changing reported type to total_time_in_ms; other small changes