code: def _get_cpu_frequency():
      """Gets the frequency in MHz of the cpus in this machine.
  
      Returns:
        float > 0 if the call to get the cpu_frequency succeeded. This information
        may not be available on all systems, in which case we return 0.0.
      """
      try:
          freq = psutil.cpu_freq()
          return freq.current if freq is not None else 0.0
      except NotImplementedError:
          return 0.0
  
file_path: deepvariant/deepvariant/resources.py
imports: import platform
  import resource
  import time
  import psutil
  from deepvariant.protos import resources_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: _get_cpu_frequency() and returns: unknown, int