<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _UpdateProcessStatus( self, process_status, identifier, status, pid, used_memory, display_name, number_of_consumed_sources, number_of_produced_sources, number_of_consumed_events, number_of_produced_events, number_of_consumed_event_tags, number_of_produced_event_tags, number_of_consumed_reports, number_of_produced_reports, number_of_consumed_warnings, number_of_produced_warnings):
 """Updates a process status. Args: process_status (ProcessStatus):
 process status. identifier (str):
 process identifier. status (str):
 human readable status of the process e.g. 'Idle'. pid (int):
 process identifier (PID). used_memory (int):
 size of used memory in bytes. display_name (str):
 human readable of the file entry currently being processed by the process. number_of_consumed_sources (int):
 total number of event sources consumed by the process. number_of_produced_sources (int):
 total number of event sources produced by the process. number_of_consumed_events (int):
 total number of events consumed by the process. number_of_produced_events (int):
 total number of events produced by the process. number_of_consumed_event_tags (int):
 total number of event tags consumed by the process. number_of_produced_event_tags (int):
 total number of event tags produced by the process. number_of_consumed_reports (int):
 total number of event reports consumed by the process. number_of_produced_reports (int):
 total number of event reports produced by the process. number_of_consumed_warnings (int):
 total number of warnings consumed by the process. number_of_produced_warnings (int):
 total number of warnings produced by the process. """

    new_sources = process_status.UpdateNumberOfEventSources(
        number_of_consumed_sources, number_of_produced_sources)

    new_events = process_status.UpdateNumberOfEvents(
        number_of_consumed_events, number_of_produced_events)

    new_event_tags = process_status.UpdateNumberOfEventTags(
        number_of_consumed_event_tags, number_of_produced_event_tags)

    new_warnings = process_status.UpdateNumberOfWarnings(
        number_of_consumed_warnings, number_of_produced_warnings)

    new_reports = process_status.UpdateNumberOfEventReports(
        number_of_consumed_reports, number_of_produced_reports)

    process_status.display_name = display_name
    process_status.identifier = identifier
    process_status.pid = pid
    process_status.status = status
    process_status.used_memory = used_memory

    if (new_sources or new_events or new_event_tags or new_warnings or
        new_reports):
      process_status.last_running_time = time.time()