parameters: (cls, GUID)
return_statement: return cls.__big_counter_cache[name]
docstring: Returns a counter which tracks the number of tasks
          stopped in failure by this worker today.
          
          :GUID:
              The worker's GUID.
docstring_summary: Returns a counter which tracks the number of tasks
          stopped in failure by this worker today.
          
          :GUID:
              The worker's GUID.
docstring_tokens: Returns a counter which tracks the number of tasks stopped in failure by this worker today . : GUID : The worker s GUID .
function: def tasks_failed_counter(cls, GUID):
          """Returns a counter which tracks the number of tasks
          stopped in failure by this worker today.
          
          :GUID:
              The worker's GUID.
              
          """
          dt = support.modeling.modeling_utcnow()
          # convert dt into an absolute number
          dt_ts_sec = calendar.timegm(dt.timetuple()) + dt.microsecond/1e6
          # reduce the precision to 1 day
          c_dt_ts_sec = floor(dt_ts_sec / 86400) * 86400
          name = '%s_%s_CTR-0004_%s' % (KnownWorkerStatus.kind(), GUID, c_dt_ts_sec)
          
          if name not in cls.__big_counter_cache:
              cls.__big_counter_cache[name] = support.big_counter.BigCounter(name)
          #logging.info('tasks_created_this_hour_counter: '+name+' '+str(len(cls.__big_counter_cache)))
          return cls.__big_counter_cache[name]
function_tokens: def tasks_failed_counter ( cls , GUID ) : dt = support . modeling . modeling_utcnow ( ) # convert dt into an absolute number dt_ts_sec = calendar . timegm ( dt . timetuple ( ) ) + dt . microsecond / 1e6 # reduce the precision to 1 day c_dt_ts_sec = floor ( dt_ts_sec / 86400 ) * 86400 name = '%s_%s_CTR-0004_%s' % ( KnownWorkerStatus . kind ( ) , GUID , c_dt_ts_sec ) if name not in cls . __big_counter_cache : cls . __big_counter_cache [ name ] = support . big_counter . BigCounter ( name ) #logging.info('tasks_created_this_hour_counter: '+name+' '+str(len(cls.__big_counter_cache))) return cls . __big_counter_cache [ name ]