Re: question about reset counter/data
- From: jjjackjill89@xxxxxxxxx
- Date: Tue, 26 Aug 2008 22:43:16 -0700 (PDT)
Hi all,
receive msg : 1234
sent msg : 1234
Mailbox CountIn CountOut
Count
ABC 1232 1232 0
ASD 2 2 0
According to the above, for example i have two mailboxs. The ABC
mailbox hav 1232 msg come in and 1232 msg come out and also same to
ASD mailbox. how should i do to reset the counter for both of receive
and sent msg using proc?
Can anyone tell me how to reset data/count after msg come in and out
for n amount of
time?
I tried to use after msg in and out but how do reset or resize the
total that the application is back in the zero
This is kind of my logic so far:
1) When msg come in and out, each mailbox have to reset to zero
(after idle)
2) If things happen during this period of time, cancel the idle
callback
(after cancel)
3) and wait until the next idle occur and reset to zero
.
- Follow-Ups:
- Re: question about reset counter/data
- From: Glenn Jackman
- Re: question about reset counter/data
- From: jjjackjill89
- Re: question about reset counter/data
- References:
- Re: question about reset counter/data
- From: Gerald W. Lester
- Re: question about reset counter/data
- From: jjjackjill89
- Re: question about reset counter/data
- From: Gerald W. Lester
- Re: question about reset counter/data
- Prev by Date: Re: ActiveTcl version on Windows XP
- Next by Date: Re: TclX loop slow in the default case
- Previous by thread: Re: question about reset counter/data
- Next by thread: Re: question about reset counter/data
- Index(es):
Relevant Pages
|