Home
last modified time | relevance | path

Searched refs:timer_index (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/net/
Dload_time_stats.cc462 int timer_index = stats->next_timer_index(); in ScheduleTimer() local
463 DCHECK(timer_index >= 0 && in ScheduleTimer()
464 timer_index < static_cast<int>(arraysize(kStatsCollectionTimesMs))); in ScheduleTimer()
466 base::TimeDelta::FromMilliseconds(kStatsCollectionTimesMs[timer_index]); in ScheduleTimer()
499 int timer_index = stats->next_timer_index(); in RecordHistograms() local
500 DCHECK(timer_index >= 0 && in RecordHistograms()
501 timer_index < static_cast<int>(arraysize(kStatsCollectionTimesMs))); in RecordHistograms()
524 histograms_[status][HISTOGRAM_FINAL_AGGREGATE][timer_index]->Add( in RecordHistograms()
527 histograms_[status][HISTOGRAM_INTERMEDIATE_AGGREGATE][timer_index]->Add( in RecordHistograms()
538 [timer_index]->Add(fraction_percentage); in RecordHistograms()
[all …]
/external/libnfc-nxp/src/
DphLlcNfc_Timer.c511 uint8_t timer_index = 0; in phLlcNfc_StopAllTimers() local
518 timerid = ps_timer_info->timer_id[timer_index]; in phLlcNfc_StopAllTimers()
542 timer_index = (uint8_t)(timer_index + 1); in phLlcNfc_StopAllTimers()
543 timerid = ps_timer_info->timer_id[timer_index]; in phLlcNfc_StopAllTimers()
556 timer_index = 0; in phLlcNfc_StopAllTimers()
562 while (timer_index < ps_timer_info->guard_to_count) in phLlcNfc_StopAllTimers()
564 ps_timer_info->guard_to_value[timer_index] = 0; in phLlcNfc_StopAllTimers()
565 ps_timer_info->iframe_send_count[timer_index] = 0; in phLlcNfc_StopAllTimers()
567 timer_index = (uint8_t)(timer_index + 1); in phLlcNfc_StopAllTimers()
DphLlcNfc_Frame.c1005 uint8_t timer_index = 0; in phLlcNfc_H_SendTimedOutIFrame() local
1012 timer_index = ps_timer_info->index_to_send; in phLlcNfc_H_SendTimedOutIFrame()
1014 ns_index = ps_timer_info->timer_ns_value[timer_index]; in phLlcNfc_H_SendTimedOutIFrame()
1019 PH_LLCNFC_DEBUG("SEND TIMEOUT TIMER INDEX : 0x%02X\n", timer_index); in phLlcNfc_H_SendTimedOutIFrame()
1020 …PH_LLCNFC_DEBUG("SEND TIMEOUT CALL frame type : 0x%02X\n", ps_timer_info->frame_type[timer_index]); in phLlcNfc_H_SendTimedOutIFrame()
1022 if (resend_i_frame == ps_timer_info->frame_type[timer_index]) in phLlcNfc_H_SendTimedOutIFrame()
1074 ps_timer_info->iframe_send_count[timer_index] = (uint8_t) in phLlcNfc_H_SendTimedOutIFrame()
1075 (ps_timer_info->iframe_send_count[timer_index] + 1); in phLlcNfc_H_SendTimedOutIFrame()
1077 PH_LLCNFC_DEBUG("SEND TIMEOUT CALL timer index : 0x%02X\n", timer_index); in phLlcNfc_H_SendTimedOutIFrame()
1079 if (timer_index > 0) in phLlcNfc_H_SendTimedOutIFrame()
[all …]
/external/chromium_org/third_party/libusb/src/libusb/os/
Dwince_usb.c871 int timer_index; in wince_clock_gettime_threaded() local
893 timer_index = WaitForMultipleObjects(2, timer_request, FALSE, INFINITE) - WAIT_OBJECT_0; in wince_clock_gettime_threaded()
894 if ( (timer_index != 0) && (timer_index != 1) ) { in wince_clock_gettime_threaded()
898 if (request_count[timer_index] == 0) { in wince_clock_gettime_threaded()
900 ResetEvent(timer_request[timer_index]); in wince_clock_gettime_threaded()
905 if (request_count[timer_index] == 0) in wince_clock_gettime_threaded()
908 switch (timer_index) { in wince_clock_gettime_threaded()
Dwindows_usb.c2167 int timer_index; in windows_clock_gettime_threaded() local
2189 timer_index = WaitForMultipleObjects(2, timer_request, FALSE, INFINITE) - WAIT_OBJECT_0; in windows_clock_gettime_threaded()
2190 if ( (timer_index != 0) && (timer_index != 1) ) { in windows_clock_gettime_threaded()
2194 if (request_count[timer_index] == 0) { in windows_clock_gettime_threaded()
2196 ResetEvent(timer_request[timer_index]); in windows_clock_gettime_threaded()
2201 if (request_count[timer_index] == 0) in windows_clock_gettime_threaded()
2204 switch (timer_index) { in windows_clock_gettime_threaded()