Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!att!cbnewsl!wbh From: wbh@cbnewsl.ATT.COM (william.huston) Newsgroups: comp.windows.x Subject: Measuring Response Time Message-ID: <1996@cbnewsl.ATT.COM> Date: 25 Sep 89 03:28:10 GMT Distribution: usa Organization: AT&T Bell Laboratories Lines: 24 I am somewhat new to this news group, so please point me to the correct source if this subject has been covered before... I would like to measure the response time of an X application as a user perceives it, that is the combination of the client activities and the server display function. How can I do this, from the client program, without a stopwatch and a pair of eyes? It seems to me that I should be able to make the the client request for display (e.g., realize a new window/widget via XtRealize()), and be able to time the interval until the server is done displaying the window. I have tried using XSync(), Xflush(), and XQueryPointer() as ways to flush event queues and to wait for the server to respond, but these functions all seem to return before the display is updated. Any ideas as to how I can accomplish this would be greatly appreciated. I should point out that I am using the AT&T OPEN LOOK system and toolkit. Thanks, Bill Huston AT&T Bell Labs (201) 271-5394 ...!att!tarpon!wbh