Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal file.c file.h ethereal.c ethereal.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 27 Aug 1999 20:52:04 -0500 (CDT)
guy         1999/08/27 20:52:02 CDT

  Modified files:
    .                    file.c file.h ethereal.c ethereal.h 
  Log:
  Don't do file-read progress bar updates with a timeout; instead, update
  the progress bar up to 100 times, as we get another percent closer to
  completion.  That reduces the number of times we run the GTK+ main loop;
  that main loop may do a "select()" or "poll()" or FIONREAD "ioctl" to
  check for input from the X server, adding to the CPU overhead of reading
  a file.
  
  The packet filtering progress bar is already updated in a similar
  fashion; make it also do up to 100 updates.
  
  Revision  Changes    Path
  1.84      +56 -36    ethereal/file.c
  1.42      +4 -1      ethereal/file.h
  1.109     +1 -10     ethereal/ethereal.c
  1.23      +1 -2      ethereal/ethereal.h