1) Call GetTime() after you call your query function, then call it again first thing in your OnEvent function. Substract the first return from the second. This is the time elapsed in milliseconds.
2) I believe the query only has to be called once. It's also called by the default UI when you open the guild frame, I think. I'm not entirely sure on that though.
|