[BACK]Return to dkstats.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / vmstat

Diff for /src/usr.bin/vmstat/dkstats.c between version 1.20 and 1.21

version 1.20, 2002/08/04 00:51:01 version 1.21, 2002/09/17 19:37:40
Line 117 
Line 117 
  * the delta values in the 'cur' structure.   * the delta values in the 'cur' structure.
  */   */
 void  void
 dkswap()  dkswap(void)
 {  {
         u_int64_t tmp;          u_int64_t tmp;
         int     i;          int     i;
Line 154 
Line 154 
  * Also collect statistics for tty i/o and cpu ticks.   * Also collect statistics for tty i/o and cpu ticks.
  */   */
 void  void
 dkreadstats()  dkreadstats(void)
 {  {
 #if !defined(NOKVM)  #if !defined(NOKVM)
         struct disk     cur_disk, *p;          struct disk     cur_disk, *p;
Line 230 
Line 230 
  * track disk statistics.   * track disk statistics.
  */   */
 int  int
 dkinit(select)  dkinit(int select)
 int     select;  
 {  {
 #if !defined(NOKVM)  #if !defined(NOKVM)
         struct disklist_head disk_head;          struct disklist_head disk_head;
Line 373 
Line 372 
  * and the size of the copy passed in `len'.   * and the size of the copy passed in `len'.
  */   */
 static void  static void
 deref_kptr(kptr, ptr, len)  deref_kptr(void *kptr, void *ptr, size_t len)
         void *kptr, *ptr;  
         size_t len;  
 {  {
         char buf[128];          char buf[128];
   

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21