~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/cumulative_stats.h

  • Committer: Monty Taylor
  • Date: 2010-06-20 05:00:42 UTC
  • mto: This revision was merged to the branch mainline in revision 1629.
  • Revision ID: mordred@inaugust.com-20100620050042-swl1exqyqau8qp8l
Fixed drizzleslap build issue on Solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
  ~CumulativeStats();
49
49
 
50
 
  void logUserStats(ScoreboardSlot* scoreboard_slot, bool reserveSlot);
 
50
  void logUserStats(ScoreboardSlot* scoreboard_slot);
51
51
 
52
52
  void logGlobalStats(ScoreboardSlot* scoreboard_slot);
53
53
 
73
73
    return cumulative_stats_by_user_max; 
74
74
  }
75
75
 
76
 
  uint64_t getCumulativeSizeBytes()
77
 
  {
78
 
    return cumulative_size_bytes;
79
 
  }
80
 
 
81
76
  int32_t getCumulativeStatsLastValidIndex();
82
77
 
83
78
  bool hasOpenUserSlots()
93
88
  std::vector<ScoreboardSlot* > *cumulative_stats_by_user_vector;
94
89
  GlobalStats *global_stats; 
95
90
  StatusVars *global_status_vars;
96
 
  uint64_t cumulative_size_bytes;
97
91
  int32_t cumulative_stats_by_user_max;
98
92
  drizzled::atomic<int32_t> last_valid_index;
99
93
  bool isOpenUserSlots;