We present an effective approach to determine the amount of energy absorbed by solid samples exposed to ultrashort laser pulses, thus, retrieving the maximum temperature attained by the ion lattice in the picosecond time scale. The method is based on the pyrometric detection of a slow temperature fluctuation on the rear side of a sample slab associated with absorption of the laser pulse on the front side. This approach, successfully corroborated by theoretical calculations, can provide a robust and practical diagnostic tool for characterization of laser-generated warm dense matter.