Hi,

i wrote:
> the kernel's time measurement with ioctl(SG_IO):
>   struct sg_io_hdr_t.duration

Just to avoid raised eyebrows if kernel programmers see this:
The word "struct" here was an error of mine.

The time measurement component is defined in <scsi/sg.h> as
part of the ioctl(SG_IO) parameter struct which gets defined
as type sg_io_hdr_t:
 
  typedef struct sg_io_hdr
  {
    ...
    unsigned int duration;      /* [o] time taken by cmd (unit: millisec) */
    ...
  } sg_io_hdr_t;


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to