void data_dpt::dp_analysis(const abstract_eventt& read, const abstract_eventt& write) { datat d_read(read.variable,read.source_location); datat d_write(write.variable,write.source_location); dp_analysis(d_read,read.local,d_write,write.local); }
/* read from fd */ ssize_t DEVICE::read(void *buf, size_t len) { ssize_t read_len ; get_timer_count(); read_len = d_read(m_fd, buf, len); last_tick = get_timer_count(); DevReadTime += last_tick; VolCatInfo.VolReadTime += last_tick; if (read_len > 0) { /* skip error */ DevReadBytes += read_len; } return read_len; }