The thresholds of six months’ or one year’s imprisonment provided for in terms of sentence adjustment by the third paragraph of Article 132-19 and Article 132-25 of the Criminal Code, as well as by 1°, 2° and 3° of I of Article 464-2, Article 474 and the article 723-15 of this code shall be assessed taking into account, where appropriate, of:
1° The total or partial revocation of a simple suspended sentence or a probationary suspended sentence, decided by the trial court and the duration of which is added, in accordance with Articles 132-38 and 132-50 of the Penal Code, to that of the prison sentence that may be served;
2° The intervention of pre-trial detention, the duration of which is deducted in full, in accordance with Article 716-4 of this Code, from that of the prison sentence handed down.