Towards automatic characterization of microarchitectural behaviour for performance modelling of computing kernels: an analysis of the Cortex A72 and Intel architectures