Time-resolved cameras with high temporal resolution (down to ps) enable a huge set of novel applications ranging from biomedicine and environmental science to material and device characterization. In this work, we propose, and experimentally validate, a novel detection scheme for time-resolved imaging based on a compressed sampling approach. The proposed scheme unifies into a single element all the required operations, i.e. space modulation, space integration and time-resolved detection, paving the way to dramatic cost reduction, performance improvement and ease of use.