cvs commit: src/tools/tools/netrate/netsend netsend.c

Robert Watson rwatson at
Tue Sep 21 13:21:41 PDT 2004

rwatson     2004-09-21 20:21:41 UTC

  FreeBSD src repository

  Modified files:
    tools/tools/netrate/netsend netsend.c 
  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
  - 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

More information about the cvs-src mailing list