Changeset 2723

Show
Ignore:
Timestamp:
06/30/08 22:25:46 (5 months ago)
Author:
dhozac
Message:

Use 64-bit counters for the memory usage, to avoid easy overflows.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/vserver-stat.c

    r2450 r2723  
    6868{ 
    6969    xid_t               xid; 
    70     int                       process_count; 
    71     int                       VmSize_total; 
    72     int                       VmRSS_total; 
     70    unsigned int      process_count; 
     71    uint64_t          VmSize_total; 
     72    uint64_t          VmRSS_total; 
    7373    uint64_t            start_time_oldest; 
    7474    uint64_t            stime_total, utime_total;