code: def get_processor_speed(self, cpu_id):
          
          if not isinstance(cpu_id, baseinteger):
              raise TypeError("cpu_id can only be an instance of type baseinteger")
          speed = self._call("getProcessorSpeed",
                       in_p=[cpu_id])
          return speed
docs: Query the (approximate) maximum speed of a specified host CPU in
          Megahertz.
  
          in cpu_id of type int
              Identifier of the CPU.
  
          return speed of type int
              Speed value. 0 is returned if value is not known or @a cpuId is
              invalid.