Home | History | Annotate | Download | only in cachegrind

Lines Matching refs:events_used

580       Int   events_used;
706 while (i < cgs->events_used) {
715 tl_assert(i >= 0 && i < cgs->events_used);
718 ev2 = ( i < cgs->events_used-1 ? &cgs->events[i+1] : NULL );
719 ev3 = ( i < cgs->events_used-2 ? &cgs->events[i+2] : NULL );
872 cgs->events_used = 0;
878 if (cgs->events_used == N_EVENTS)
880 tl_assert(cgs->events_used >= 0 && cgs->events_used < N_EVENTS);
881 evt = &cgs->events[cgs->events_used];
891 cgs->events_used++;
902 if (cgs->events_used == N_EVENTS)
904 tl_assert(cgs->events_used >= 0 && cgs->events_used < N_EVENTS);
905 evt = &cgs->events[cgs->events_used];
911 cgs->events_used++;
927 lastEvt = &cgs->events[cgs->events_used-1];
928 if (cgs->events_used > 0
939 if (cgs->events_used == N_EVENTS)
941 tl_assert(cgs->events_used >= 0 && cgs->events_used < N_EVENTS);
942 evt = &cgs->events[cgs->events_used];
948 cgs->events_used++;
970 tl_assert(cgs->events_used >= 0);
972 tl_assert(cgs->events_used == 0);
1006 if (cgs->events_used == N_EVENTS)
1008 tl_assert(cgs->events_used >= 0 && cgs->events_used < N_EVENTS);
1009 evt = &cgs->events[cgs->events_used];
1014 cgs->events_used++;
1026 if (cgs->events_used == N_EVENTS)
1028 tl_assert(cgs->events_used >= 0 && cgs->events_used < N_EVENTS);
1029 evt = &cgs->events[cgs->events_used];
1034 cgs->events_used++;
1085 cgs.events_used = 0;