I know how to do it in Ocean and Cadence Virtuoso. There are some function to compute delay between two edges which can than be done as on a results for a sweep variable e.g. clock delay.
I suppose one should be able to similar thing using meas (
chapter 17.5.43) but I don't have experience with that.
Alternative is to use PySpice and do postprocessing on the results using python.