Added performance counter for write IOCTL