Home
last modified time | relevance | path

Searched refs:current_sample (Results 1 – 4 of 4) sorted by relevance

/external/igt-gpu-tools/overlay/
Dchart.c101 int n, max = chart->current_sample; in chart_get_range()
119 pos = chart->current_sample++ % chart->num_samples; in chart_add_sample()
125 int n, max = chart->current_sample; in chart_update_range()
141 if (n < chart->current_sample - chart->num_samples) in value_at()
142 n = chart->current_sample; in value_at()
143 else if (n >= chart->current_sample) in value_at()
144 n = chart->current_sample - 1; in value_at()
167 if (chart->current_sample == 0) in chart_draw()
184 max = chart->current_sample; in chart_draw()
187 i = chart->current_sample - max; in chart_draw()
Dchart.h32 int current_sample; member
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time.py187 current_sample = get_tick_count()
188 if current_sample < GET_TICK_COUNT_LAST_NOW:
190 GET_TICK_COUNT_LAST_NOW = current_sample
/external/perfetto/src/trace_processor/
Dexport_json.cc1254 auto current_sample = current_events_.find(utid); in AddEventForUtid() local
1259 if (current_sample != current_events_.end() && in AddEventForUtid()
1260 current_sample->second.callsite_id() == callsite_id) { in AddEventForUtid()
1261 current_sample->second.UpdateWithNewSample(ts); in AddEventForUtid()
1262 return current_sample->second.event_id(); in AddEventForUtid()
1264 if (current_sample != current_events_.end()) in AddEventForUtid()
1265 current_events_.erase(current_sample); in AddEventForUtid()