I was dabbling with chucking out a per frame performance monitor file whilst i cache (start, cook geo, stop, save profile). Largely seems to work as expected but theres a few things i'm unsure about:
1. The performance monitor seems to be getting clogged up with all these profiles, i cant see how to purge them once saved? it sounds like
cancel()
2. I wanted to do this accross pre / post frame scripts but i couldnt find how you would reference the profile again if you dont have the variable set in one script like the helps example (
profile = hou.perfMon.startProfile()
hou.perfMon.Profile(profilename).stop()
Anyone done workflows with this and got useful tips?
~Craig