STATS for operations that cross frames?


Our code makes web requests. I’d like to show a summary of the response times in the in-game overview. Ideally, the max/min/average values would be correct, and hold their values when no requests were active.

What is the best way to do this?

It seems the Cycle Counters only show up on frames for which they are active. The regular float counters are cleared each frame, whereas a request will cover multiple frames. The accumulating counters only accumulate, so they don’t show min/max/average, but the last value I set (or the sum of all of them). Memory is formatted for memory.

Is there another option?