From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!o10g2000yqa.googlegroups.com!not-for-mail From: Pablo Newsgroups: comp.lang.ada Subject: Delay while wait for a command Date: Tue, 29 Sep 2009 05:13:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <287e1264-70c7-4cbb-8ee6-a63d2980071e@o10g2000yqa.googlegroups.com> NNTP-Posting-Host: 201.7.145.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1254226432 13947 127.0.0.1 (29 Sep 2009 12:13:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 29 Sep 2009 12:13:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o10g2000yqa.googlegroups.com; posting-host=201.7.145.1; posting-account=n9Sa1woAAACZc_iwSjaEkj9Lnt-XVrSr User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8530 Date: 2009-09-29T05:13:52-07:00 List-Id: Hi people, I need to find a way to count an event occurrence in a defined time interval. That is, for instance, I need to wait 5 seconds, and in meantime I need to count the number of occurrences of a method (which could be a mouse click). Could someone help me? Thanks.