![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
#include <assert.h>#include <stdlib.h>#include "xcom/xcom_profile.h"#include "my_compiler.h"#include "xcom/simset.h"#include "xcom/task.h"#include "xcom/task_debug.h"#include "xcom/x_platform.h"#include "xcom/xcom_statistics.h"#include "xcom/xcom_vp_str.h"#include "xdr_gen/xcom_vp.h"Macros | |
| #define | M_F_SZ 19 | 
| #define | M_F_MIDDLE ((M_F_SZ + 1) / 2) | 
| #define | M_F_MAX (M_F_SZ - 1) | 
| #define | STAT_INTERVAL 10.0 | 
| #define | SWAP_DBL(x, y) | 
Functions | |
| static int | qpartition (double *list, int left, int right, int pivot_index) | 
| static double | qselect (double *list, int left, int right, int k) | 
| void | add_to_filter (double t) | 
| void | median_filter_init () | 
| double | median_time () | 
Variables | |
| uint64_t | send_count [LAST_OP] | 
| uint64_t | receive_count [LAST_OP] | 
| uint64_t | send_bytes [LAST_OP] | 
| uint64_t | receive_bytes [LAST_OP] | 
| static double | median_filter [M_F_SZ] | 
| static int | filter_index = 0 | 
| static int | added = 1 | 
| static double | cached = 0.0 | 
| #define M_F_MAX (M_F_SZ - 1) | 
| #define M_F_MIDDLE ((M_F_SZ + 1) / 2) | 
| #define M_F_SZ 19 | 
| #define STAT_INTERVAL 10.0 | 
| #define SWAP_DBL | ( | x, | |
| y | |||
| ) | 
| void add_to_filter | ( | double | t | ) | 
| void median_filter_init | ( | ) | 
| double median_time | ( | ) | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
| uint64_t receive_bytes[LAST_OP] | 
| uint64_t receive_count[LAST_OP] | 
| uint64_t send_bytes[LAST_OP] | 
| uint64_t send_count[LAST_OP] |