parameters: (self, event)
docstring: Aggregate an event for the whole profile.
docstring_summary: Aggregate an event for the whole profile.
docstring_tokens: Aggregate an event for the whole profile .
function: def aggregate(self, event):
          """Aggregate an event for the whole profile."""
  
          total = event.null()
          for function in self.functions.itervalues():
              try:
                  total = event.aggregate(total, function[event])
              except UndefinedEvent:
                  return
          self[event] = total
function_tokens: def aggregate ( self , event ) : total = event . null ( ) for function in self . functions . itervalues ( ) : try : total = event . aggregate ( total , function [ event ] ) except UndefinedEvent : return self [ event ] = total