~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/cumulative_stats.h

Merge in Stewart's FK work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2010 Joseph Daly <skinny.moey@gmail.com>
 
2
 * Copyright (c) 2010, Joseph Daly <skinny.moey@gmail.com>
3
3
 * All rights reserved.
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
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;