parameters: (self)
docstring: Parse '/proc/timer_list' output and returns the first jiffies attribute.
  
      Multi-CPU machines will have multiple 'jiffies:' lines, all of which will be
      essentially the same.  Return the first one.
docstring_summary: Parse '/proc/timer_list' output and returns the first jiffies attribute.
docstring_tokens: Parse / proc / timer_list output and returns the first jiffies attribute .
function: def _GetProcJiffies(self):
      """Parse '/proc/timer_list' output and returns the first jiffies attribute.
  
      Multi-CPU machines will have multiple 'jiffies:' lines, all of which will be
      essentially the same.  Return the first one."""
      jiffies_timer_lines = self.RunCommand(
          ['grep', 'jiffies', '/proc/timer_list'])
      if not jiffies_timer_lines:
        raise Exception('Unable to find jiffies from /proc/timer_list')
      jiffies_timer_list = jiffies_timer_lines.splitlines()
      # Each line should look something like 'jiffies: 4315883489'.
      for line in jiffies_timer_list:
        match = re.match(r'\s*jiffies\s*:\s*(\d+)', line)
        if match:
          value = match.group(1)
          return float(value)
      raise Exception('Unable to parse jiffies attribute: %s' %
                      repr(jiffies_timer_lines))
function_tokens: def _GetProcJiffies ( self ) : jiffies_timer_lines = self . RunCommand ( [ 'grep' , 'jiffies' , '/proc/timer_list' ] ) if not jiffies_timer_lines : raise Exception ( 'Unable to find jiffies from /proc/timer_list' ) jiffies_timer_list = jiffies_timer_lines . splitlines ( ) # Each line should look something like 'jiffies: 4315883489'. for line in jiffies_timer_list : match = re . match ( r'\s*jiffies\s*:\s*(\d+)' , line ) if match : value = match . group ( 1 ) return float ( value ) raise Exception ( 'Unable to parse jiffies attribute: %s' % repr ( jiffies_timer_lines ) )