Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 20:21:41 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/tools/tools/netrate/netsend netsend.c
Message-ID:  <200409212021.i8LKLfuT080716@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-09-21 20:21:41 UTC

  FreeBSD src repository

  Modified files:
    tools/tools/netrate/netsend netsend.c 
  Log:
  Improve netsend timing logic in various ways:
  - Centralize time comparison.
  - Check clock resolution to make sure it has enough granularity to
    implement the desired wait interval.
  - Keep track of how many times the timing loop has to spin waiting
    for the next send time; report statistics.
  - Add commented out warning about deadlines being missed when
    spinning.
  - Improve statistics reporting generally to provide a more useful
    summary of sender condition after a run.
  
  Revision  Changes    Path
  1.3       +78 -13    src/tools/tools/netrate/netsend/netsend.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409212021.i8LKLfuT080716>