Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 04:55:07 +0000 (UTC)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/top machine.c
Message-ID:  <200407120455.i6C4t7L2000945@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2004-07-12 04:55:07 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/top          machine.c 
  Log:
  Cache a pointer to the old proc (as well as negative cache) to make
  computing the io statistics over and over not as expensive.
  This is a bit of a cop out, as I should just allocate a struct with
  the computed values, but this will do for now.
  
  Revision  Changes    Path
  1.65      +13 -2     src/usr.bin/top/machine.c



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