1. A detection apparatus comprising: a plurality of processors among which a first processor repeatedly executes in sequence, respective processes corresponding to a plurality of sensors; a memory unit configured to enable access by the first processor and to store a processing time required for a first process corresponding to the respective processes, a processing time required for a second process corresponding to the respective processes, and a time constraint corresponding to the respective processes, wherein the first processor stores to the memory unit, an execution start time corresponding to the respective processes when execution of the respective processes is switched, the first processor, when a process under execution among the respective processes executes the second process, adds to a difference of an execution start time stored in the memory unit and corresponding to a remaining process among the respective processes excluding the process under execution and a start time when the process under execution executes the second process, the processing time required for the second process of the process under execution and the processing time required for the first process of the remaining process, the first processor adding to the difference, based an execution sequence of the respective processes, the first processor determines whether a time calculated for the remaining process complies with a time constraint stored in the memory unit and corresponding to the remaining process, and the first processor notifies a second processor of an execution request for a process determined as not complying with the time constraint, the second processor being among the plurality of processors.