~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statistics_variables.h

Added some special case code for directory handling on solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *  Copyright (C) 2010 Joseph Daly 
6
6
 *
7
7
 *  This program is free software; you can redistribute it and/or modify
32
32
 */
33
33
typedef struct global_counters
34
34
{
 
35
  uint64_t aborted_threads;
 
36
  uint64_t aborted_connects;
35
37
  uint64_t max_used_connections;
36
 
  uint64_t connections;
37
38
  uint64_t locks_immediate;
38
39
  uint64_t locks_waited;
39
40
} global_counters;
45
46
 */
46
47
typedef struct system_status_var
47
48
{
48
 
  uint64_t aborted_connects;
49
 
  uint64_t aborted_threads;
50
 
  uint64_t access_denied;
51
49
  uint64_t bytes_received;
52
50
  uint64_t bytes_sent;
53
51
  uint64_t com_other;
69
67
  uint64_t ha_savepoint_count;
70
68
  uint64_t ha_savepoint_rollback_count;
71
69
 
 
70
  /* KEY_CACHE parts. These are copies of the original */
 
71
  uint64_t key_blocks_changed;
 
72
  uint64_t key_blocks_used;
 
73
  uint64_t key_cache_r_requests;
 
74
  uint64_t key_cache_read;
 
75
  uint64_t key_cache_w_requests;
 
76
  uint64_t key_cache_write;
 
77
  /* END OF KEY_CACHE parts */
 
78
 
72
79
  uint64_t select_full_join_count;
73
80
  uint64_t select_full_range_join_count;
74
81
  uint64_t select_range_count;
79
86
  uint64_t filesort_range_count;
80
87
  uint64_t filesort_rows;
81
88
  uint64_t filesort_scan_count;
82
 
  uint64_t connection_time;
83
 
  uint64_t execution_time_nsec;
84
 
  uint64_t updated_row_count;
85
 
  uint64_t deleted_row_count;
86
 
  uint64_t inserted_row_count;
87
89
  /*
88
90
    Number of statements sent from the client
89
91
  */