I want to use TGD as a measurement tool for profiling the game rendering in Android device. This requires a lot of frames to be captured. However, I currently only know how to use the TGD GUI interface to capture the frame and click the profiler. I am wondering if there is any programming interface in TGD so that I can capture and analyze the frame in a programmatic way. If no such programming interface exists, is there any tools that can be used to automatically operate the TGD tool and get the data. Thanks.