~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/cumulative_stats.h

  • Committer: Joseph Daly
  • Date: 2010-08-18 02:17:48 UTC
  • mto: (1725.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1726.
  • Revision ID: jdaly@rx7-20100818021748-f07775vmvq1o6vq9
add memory usage

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    return cumulative_stats_by_user_max; 
74
74
  }
75
75
 
 
76
  uint64_t getCumulativeSizeBytes()
 
77
  {
 
78
    return cumulative_size_bytes;
 
79
  }
 
80
 
76
81
  int32_t getCumulativeStatsLastValidIndex();
77
82
 
78
83
  bool hasOpenUserSlots()
88
93
  std::vector<ScoreboardSlot* > *cumulative_stats_by_user_vector;
89
94
  GlobalStats *global_stats; 
90
95
  StatusVars *global_status_vars;
 
96
  uint64_t cumulative_size_bytes;
91
97
  int32_t cumulative_stats_by_user_max;
92
98
  drizzled::atomic<int32_t> last_valid_index;
93
99
  bool isOpenUserSlots;