Motr  M0
workload Struct Reference

#include <workload.h>

Collaboration diagram for workload:
Collaboration graph

Data Fields

enum cr_workload_type cw_type
 
const char * cw_name
 
unsigned cw_ops
 
unsigned cw_done
 
unsigned cw_nr_thread
 
unsigned cw_rstate
 
bcnt_t cw_avg
 
bcnt_t cw_max
 
bcnt_t cw_block
 
char * cw_buf
 
int cw_progress
 
int cw_header
 
int cw_oflag
 
int cw_usage
 
int cw_directio
 
int cw_bound
 
int cw_log_level
 
char * cw_fpattern
 
unsigned cw_nr_dir
 
short cw_read_frac
 
struct timeval cw_rate
 
pthread_mutex_t cw_lock
 
union {
   void *   cw_io
 
   void *   cw_index
 
   struct cr_hpcs {
   }   cw_hpcs
 
   struct cr_csum {
      int   c_nr_devs
 
      struct csum_dev {
         char *   d_name
 
         char *   d_csum_name
 
         int   d_fd
 
         int   d_csum_fd
 
      }   c_dev [CR_CSUM_DEV_MAX]
 
      int   c_async
 
      unsigned   c_blocksize
 
      bcnt_t   c_dev_size
 
      int   c_csum
 
      bcnt_t   c_csum_size
 
      int   c_swab
 
   }   cw_csum
 
u
 

Detailed Description

Definition at line 73 of file workload.h.

Field Documentation

◆ c_async

int c_async

Definition at line 110 of file workload.h.

◆ c_blocksize

unsigned c_blocksize

Definition at line 111 of file workload.h.

◆ c_csum

int c_csum

Definition at line 113 of file workload.h.

◆ c_csum_size

bcnt_t c_csum_size

Definition at line 114 of file workload.h.

◆ c_dev

struct { ... } ::cr_csum::csum_dev c_dev[CR_CSUM_DEV_MAX]

◆ c_dev_size

bcnt_t c_dev_size

Definition at line 112 of file workload.h.

◆ c_nr_devs

int c_nr_devs

Definition at line 103 of file workload.h.

◆ c_swab

int c_swab

Definition at line 115 of file workload.h.

◆ cw_avg

bcnt_t cw_avg

Definition at line 80 of file workload.h.

◆ cw_block

bcnt_t cw_block

Definition at line 82 of file workload.h.

◆ cw_bound

int cw_bound

Definition at line 89 of file workload.h.

◆ cw_buf

char* cw_buf

Definition at line 83 of file workload.h.

◆ cw_csum

struct { ... } ::cr_csum cw_csum

◆ cw_directio

int cw_directio

Definition at line 88 of file workload.h.

◆ cw_done

unsigned cw_done

Definition at line 77 of file workload.h.

◆ cw_fpattern

char* cw_fpattern

Definition at line 91 of file workload.h.

◆ cw_header

int cw_header

Definition at line 85 of file workload.h.

◆ cw_hpcs

struct { ... } ::cr_hpcs cw_hpcs

◆ cw_index

void* cw_index

Definition at line 99 of file workload.h.

◆ cw_io

void* cw_io

Definition at line 98 of file workload.h.

◆ cw_lock

pthread_mutex_t cw_lock

Definition at line 95 of file workload.h.

◆ cw_log_level

int cw_log_level

Definition at line 90 of file workload.h.

◆ cw_max

bcnt_t cw_max

Definition at line 81 of file workload.h.

◆ cw_name

const char* cw_name

Definition at line 75 of file workload.h.

◆ cw_nr_dir

unsigned cw_nr_dir

Definition at line 92 of file workload.h.

◆ cw_nr_thread

unsigned cw_nr_thread

Definition at line 78 of file workload.h.

◆ cw_oflag

int cw_oflag

Definition at line 86 of file workload.h.

◆ cw_ops

unsigned cw_ops

Definition at line 76 of file workload.h.

◆ cw_progress

int cw_progress

Definition at line 84 of file workload.h.

◆ cw_rate

struct timeval cw_rate

Definition at line 94 of file workload.h.

◆ cw_read_frac

short cw_read_frac

Definition at line 93 of file workload.h.

◆ cw_rstate

unsigned cw_rstate

Definition at line 79 of file workload.h.

◆ cw_type

enum cr_workload_type cw_type

Definition at line 74 of file workload.h.

◆ cw_usage

int cw_usage

Definition at line 87 of file workload.h.

◆ d_csum_fd

int d_csum_fd

Definition at line 108 of file workload.h.

◆ d_csum_name

char* d_csum_name

Definition at line 106 of file workload.h.

◆ d_fd

int d_fd

Definition at line 107 of file workload.h.

◆ d_name

char* d_name

Definition at line 105 of file workload.h.

◆ u

union { ... } u

The documentation for this struct was generated from the following file: