I was wondering if how to find the last 10 results using AF SDK. We have a batch process that has several recipes ("|RecipeID") with 30 different steps("|StepID") . Each step generates an event. Overall we generate about 1200 events a day. I am trying to generate an average for the duration for the last 10 events for each step of each recipe. I can do it by manually looping through and counting by that is slow. I figure there is since I can do it in PICoresight event comparison. I think I could use AFEventFrame.FindEventFrames maxCount but this has been labeled as obsolete in the documentation says to use AFEventFrameSearch.