On some devices, checking the system counter clock frequency will return 0. Substitute in the correct values to prevent issues.