1. A data processing apparatus comprising: a logic circuit that is reconfigurable in each cycle; and a library in which hardware control information is stored, wherein the hardware control information includes: a plurality of pieces of cycle-based mapping information for mapping a plurality of cycle-based circuits onto the logic circuit individually, each of the plurality of cycle-based circuits realizing a function in each cycle for executing an application; and configuration selection information for selecting at least one of the plurality of pieces of cycle-based mapping information according to an execution state of the application, and the data processing apparatus further comprises: a control unit that reconfigures, according to a request in each cycle based on the configuration selection information, at least part of the logic circuit using at least one of the plurality of pieces of cycle-based mapping information.