only compute cpu percentages if the function is available. first step in #24