How can I get the optimization result of a pass at the start of its forward testing?

 
I am trying to get the result of the optimization run at the start of the forward test for the pass. Is there a function that can do this? I don't really know how to word a search to look that up.
Reason: