Accurate Estimation of the CNN Inference Cost within Microcontrollers