Lines Matching defs:bb
89 uint64_t future_time = future->bb.next_time;
93 if (future_time <= ptr->bb.next_time)
148 // Open the trace.bb file
149 char *fname = CreateTracePath(filename, ".bb");
178 head_->bb->bb_rec.bb_num, head_->bb->bb_rec.start_time,
179 head_->bb->bb_rec.time_diff, head_->bb->bb_rec.repeat,
180 head_->bb->next_time);
185 TimeRec *bb = &head_->bb;
186 if (bb->next_time < nextrec_.bb_rec.start_time) {
188 event->time = bb->next_time;
189 event->bb_num = bb->bb_rec.bb_num;
199 if (bb->bb_rec.repeat > 0) {
200 // there are more repetitions of this bb
201 bb->bb_rec.repeat -= 1;
202 bb->next_time += bb->bb_rec.time_diff;
223 future->bb.bb_rec = nextrec_.bb_rec;
224 future->bb.bb_rec.repeat -= 1;
225 future->bb.next_time = nextrec_.bb_rec.start_time + nextrec_.bb_rec.time_diff;
235 TimeRec *bb = &head_->bb;
236 event->time = bb->next_time;
237 event->bb_num = bb->bb_rec.bb_num;
247 if (bb->bb_rec.repeat > 0) {
248 // there are more repetitions of this bb
249 bb->bb_rec.repeat -= 1;
250 bb->next_time += bb->bb_rec.time_diff;
729 // Open the qtrace.bb file