[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Duration for one round of server side module
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Duration for one round of server side module
- From: Ralph Mitchell <ralphmitchell (at) gmail.com>
- Date: Thu, 14 May 2009 17:29:57 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=sAvAC5RkJxJx00hNV/FSvw1JdMhECAt3uim0q1H3ta4=; b=rOYSeoKRqrI2Zd6SDz7BsimFMWlMrjYeHlV1LqyxO5As+vNSkpJDVt0dJHJprRYlMy CER+CjVNNE5OKbZP0olf3gp4wY4q2xLKLfxLn6EnZE6QbIXhKmL/DiayuMzfJms3RrDT vTJH0fgf/NsKnCf2vKQKfw4NWlK1g3oqwA8go=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WnZCyN0IB0fViroE8gDp3c2pBT7MKZxIC0M59pt4DeF7kJ0F5Tad05cnPnCmDSLIvK NSrNiBdimRyZ+X+dT5poJOKAdLLStA2jBe3o9w/I9NQd5JVPK4Shwwn10rL6neEv45n1 5yPKuKCegVj/U0meeYBCT+nzd+DdMzgg/nAdI=
- References: <a60f25fc0905141141xb5a9224pb3abdb10bbcea3fc (at) mail.gmail.com> <997a524e0905141209x291e9cb5ua84c320909ecdcbd (at) mail.gmail.com> <a60f25fc0905141239x605ba5a5yc510456960c6894f (at) mail.gmail.com>
On Thu, May 14, 2009 at 2:39 PM, Asif Iqbal <vadud3 (at) gmail.com> wrote:
>
>
> On Thu, May 14, 2009 at 3:09 PM, Ralph Mitchell <ralphmitchell (at) gmail.com>wrote:
>
>> Maybe I'm missing something, but... Why not just grab the system
>> date/time at the start, again at the end, then subtract one
>
>
> How do I know the end? The clients are constantly feeding data to
> hobbitd_channel and they may not be coming
> in sequential order. I may receive data from one host twice who is right
> next to hobbit server before I receive
> client data for another host which is in different country
>
Looking at the ssmodule sample program, I think I would pick up the start
and end time in the 'processmessage' routine. The hostname gets passed
through to that routine, so you could log a timestamp, the hostname and the
duration for each host.
Ralph Mitchell