Identification of a determining parameter for resistive switching of TiO2 thin films | Synapse