1STRUCT CMBDATA(9) The ccw bus STRUCT CMBDATA(9)
2
3
4
6 struct_cmbdata - channel measurement block data for user space
7
9 struct cmbdata {
10 __u64 size;
11 __u64 elapsed_time;
12 __u64 ssch_rsch_count;
13 __u64 sample_count;
14 __u64 device_connect_time;
15 __u64 function_pending_time;
16 __u64 device_disconnect_time;
17 __u64 control_unit_queuing_time;
18 __u64 device_active_only_time;
19 __u64 device_busy_time;
20 __u64 initial_command_response_time;
21 };
22
24 size
25 size of the stored data
26
27 elapsed_time
28 time since last sampling
29
30 ssch_rsch_count
31 number of ssch and rsch
32
33 sample_count
34 number of samples
35
36 device_connect_time
37 time of device connect
38
39 function_pending_time
40 time of function pending
41
42 device_disconnect_time
43 time of device disconnect
44
45 control_unit_queuing_time
46 time of control unit queuing
47
48 device_active_only_time
49 time of device active only
50
51 device_busy_time
52 time of device busy (ext. format)
53
54 initial_command_response_time
55 initial command response time (ext. format)
56
58 All values are stored as 64 bit for simplicity, especially in 32 bit
59 emulation mode. All time values are normalized to nanoseconds.
60 Currently, two formats are known, which differ by the size of this
61 structure, i.e. the last two members are only set when the extended
62 channel measurement facility (first shipped in z990 machines) is
63 activated. Potentially, more fields could be added, which would result
64 in a new ioctl number.
65
67 Cornelia Huck <cornelia.huck@de.ibm.com>
68 Author.
69
71Kernel Hackers Manual 2.6. November 2011 STRUCT CMBDATA(9)