| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | ordered-events.c | 21 u64 timestamp = new->timestamp; in queue_event() local 27 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); in queue_event() 31 oe->max_timestamp = timestamp; in queue_event() 40 if (last->timestamp <= timestamp) { in queue_event() 41 while (last->timestamp <= timestamp) { in queue_event() 45 oe->max_timestamp = timestamp; in queue_event() 52 while (last->timestamp > timestamp) { in queue_event() 172 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, in ordered_events__new_event() argument 179 new->timestamp = timestamp; in ordered_events__new_event() 195 u64 timestamp, u64 file_offset) in ordered_events__queue() argument [all …]
|
| H A D | time-utils.c | 419 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp) in perf_time__skip_sample() argument 422 if (timestamp == 0) in perf_time__skip_sample() 426 if ((ptime->start && timestamp < ptime->start) || in perf_time__skip_sample() 427 (ptime->end && timestamp > ptime->end)) { in perf_time__skip_sample() 435 int num, u64 timestamp) in perf_time__ranges_skip_sample() argument 440 if ((!ptime_buf) || (timestamp == 0) || (num == 0)) in perf_time__ranges_skip_sample() 444 return perf_time__skip_sample(&ptime_buf[0], timestamp); in perf_time__ranges_skip_sample() 452 if (timestamp >= ptime->start && in perf_time__ranges_skip_sample() 453 (timestamp <= ptime->end || !ptime->end)) { in perf_time__ranges_skip_sample() 528 int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz) in timestamp__scnprintf_usec() argument [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qgeopositioninfo.cpp | 90 QGeoPositionInfo::QGeoPositionInfo(const QGeoCoordinate &coordinate, const QDateTime ×tamp) in QGeoPositionInfo() argument 93 d->timestamp = timestamp; in QGeoPositionInfo() 158 return d->timestamp.isValid() && d->coord.isValid(); in isValid() 168 void QGeoPositionInfo::setTimestamp(const QDateTime ×tamp) in setTimestamp() argument 170 d->timestamp = timestamp; in setTimestamp() 180 QDateTime QGeoPositionInfo::timestamp() const in timestamp() function in QGeoPositionInfo 182 return d->timestamp; in timestamp() 255 dbg.nospace() << "QGeoPositionInfo(" << info.d->timestamp; in operator <<() 330 stream << info.d->timestamp; in operator <<() 348 stream >> info.d->timestamp; in operator >>() [all …]
|
| H A D | qnmeapositioninfosource.cpp | 108 …if (!dst.timestamp().date().isValid() && src.timestamp().isValid()) { // time was supposed to be s… in propagateDate() 109 dst.setTimestamp(src.timestamp()); in propagateDate() 191 … const QTime infoTime = m_update.timestamp().time(); // if update has been set, time must be valid. in readAvailableData() 192 …const QDate infoDate = m_update.timestamp().date(); // this one might not be valid, as some senten… in readAvailableData() 216 if (pos.timestamp().time().isValid()) { in readAvailableData() 217 const bool newerTime = infoTime < pos.timestamp().time(); in readAvailableData() 219 && pos.timestamp().date().isValid() in readAvailableData() 220 && infoDate < pos.timestamp().date()); in readAvailableData() 224 const QDate updateDate = m_update.timestamp().date(); in readAvailableData() 226 … const bool newerTimestampSinceLastPushed = m_update.timestamp() > m_lastPushedTS; in readAvailableData() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | err_common.c | 91 union el_timestamp timestamp; in el_process_header_subpacket() local 109 timestamp.as_int = 0; in el_process_header_subpacket() 116 timestamp = header->by_type.sys_event.timestamp; in el_process_header_subpacket() 123 timestamp = header->by_type.err_halt.timestamp; in el_process_header_subpacket() 129 timestamp.as_int = 0; in el_process_header_subpacket() 143 el_print_timestamp(×tamp); in el_process_header_subpacket() 169 el_print_timestamp(union el_timestamp *timestamp) in el_print_timestamp() argument 171 if (timestamp->as_int) in el_print_timestamp() 174 timestamp->b.month, timestamp->b.day, in el_print_timestamp() 175 timestamp->b.year, timestamp->b.hour, in el_print_timestamp() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-decoder.c | 129 uint64_t timestamp; member 520 decoder->sample_timestamp = decoder->timestamp; in intel_pt_update_sample_time() 528 decoder->timestamp = 0; in intel_pt_reposition() 677 uint64_t timestamp; member 708 uint64_t timestamp; in intel_pt_calc_cyc_cb() local 752 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 755 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 761 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb() 765 data->timestamp = timestamp; in intel_pt_calc_cyc_cb() 778 timestamp = pkt_info->packet.payload | in intel_pt_calc_cyc_cb() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/ |
| H A D | CVE-2022-38725-0007.patch | 4 Subject: [PATCH 7/8] timeutils: fix invalid calculation of ISO timestamp length 18 lib/timeutils/scan-timestamp.c | 8 ++++++-- 19 lib/timeutils/tests/test_scan-timestamp.c | 7 +++++++ 22 diff --git a/lib/timeutils/scan-timestamp.c b/lib/timeutils/scan-timestamp.c 24 --- a/lib/timeutils/scan-timestamp.c 25 +++ b/lib/timeutils/scan-timestamp.c 61 diff --git a/lib/timeutils/tests/test_scan-timestamp.c b/lib/timeutils/tests/test_scan-timestamp.c 63 --- a/lib/timeutils/tests/test_scan-timestamp.c 64 +++ b/lib/timeutils/tests/test_scan-timestamp.c
|
| H A D | CVE-2022-38725-0004.patch | 4 Subject: [PATCH 4/8] timeutils: fix iterating out of the range of timestamp buffer 19 lib/timeutils/scan-timestamp.c | 2 +- 22 diff --git a/lib/timeutils/scan-timestamp.c b/lib/timeutils/scan-timestamp.c 24 --- a/lib/timeutils/scan-timestamp.c 25 +++ b/lib/timeutils/scan-timestamp.c
|
| /OK3568_Linux_fs/kernel/drivers/net/can/dev/ |
| H A D | rx-offload.c | 12 u32 timestamp; member 90 cb_pos->timestamp, cb_new->timestamp, in __skb_queue_add_sort() 91 cb_new->timestamp - cb_pos->timestamp, in __skb_queue_add_sort() 115 return cb_b->timestamp - cb_a->timestamp; in can_rx_offload_compare() 145 u32 timestamp; in can_rx_offload_offload_one() local 152 skb = offload->mailbox_read(offload, n, ×tamp, drop); in can_rx_offload_offload_one() 169 cb->timestamp = timestamp; in can_rx_offload_offload_one() 241 struct sk_buff *skb, u32 timestamp) in can_rx_offload_queue_sorted() argument 253 cb->timestamp = timestamp; in can_rx_offload_queue_sorted() 266 unsigned int idx, u32 timestamp) in can_rx_offload_get_echo_skb() argument [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/ |
| H A D | chrono.cpp | 21 std::string rfc1123(Timestamp timestamp) { in rfc1123() argument 22 std::time_t time = std::chrono::system_clock::to_time_t(timestamp); in rfc1123() 31 std::string iso8601(Timestamp timestamp) { in iso8601() argument 32 std::time_t time = std::chrono::system_clock::to_time_t(timestamp); in iso8601() 40 Timestamp parseTimestamp(const char* timestamp) { in parseTimestamp() argument 41 …d::chrono::time_point_cast<Seconds>(std::chrono::system_clock::from_time_t(parse_date(timestamp))); in parseTimestamp() 44 Timestamp parseTimestamp(const int32_t timestamp) { in parseTimestamp() argument 45 return std::chrono::time_point_cast<Seconds>(std::chrono::system_clock::from_time_t(timestamp)); in parseTimestamp()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/ |
| H A D | 0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch | 37 - devt->timestamp = levt->time; 38 + devt->timestamp.tv_sec = levt->input_event_sec; 39 + devt->timestamp.tv_usec = levt->input_event_usec; 47 - devt->timestamp = levt->time; 48 + devt->timestamp.tv_sec = levt->input_event_sec; 49 + devt->timestamp.tv_usec = levt->input_event_usec; 78 devt->timestamp = state->timeout; /* timeout of levt->time? */ 97 - devt->timestamp = levt->time; 98 + devt->timestamp.tv_sec = levt->input_event_sec; 99 + devt->timestamp.tv_usec = levt->input_event_usec; [all …]
|
| /OK3568_Linux_fs/u-boot/arch/m68k/lib/ |
| H A D | time.c | 18 static volatile ulong timestamp = 0; variable 67 timestamp++; in dtimer_interrupt() 70 if ((timestamp % (CONFIG_SYS_WATCHDOG_FREQ)) == 0) { in dtimer_interrupt() 82 timestamp = 0; in timer_init() 107 return (timestamp - base); in get_timer() 145 timestamp = 0; in timer_init() 163 timestamp += diff; in get_timer() 165 return timestamp - base; in get_timer()
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | power_cpu_migrate.h | 11 TP_PROTO(u64 timestamp, \ 14 TP_ARGS(timestamp, \ 23 __field(u64, timestamp ) 28 __entry->timestamp = timestamp; 33 (unsigned long long)__entry->timestamp,
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | cros_ec_sensorhub_ring.c | 58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample() 365 sample->timestamp) in cros_ec_sensor_ring_check_for_past_timestamp() 367 sample->timestamp = in cros_ec_sensor_ring_check_for_past_timestamp() 371 sample->timestamp; in cros_ec_sensor_ring_check_for_past_timestamp() 405 s64 a = in->timestamp; in cros_ec_sensor_ring_process_event() 406 s64 b = fifo_info->timestamp; in cros_ec_sensor_ring_process_event() 434 trace_cros_ec_sensorhub_timestamp(in->timestamp, in cros_ec_sensor_ring_process_event() 435 fifo_info->timestamp, in cros_ec_sensor_ring_process_event() 455 out->timestamp = *current_timestamp; in cros_ec_sensor_ring_process_event() 473 fifo_info->timestamp, in cros_ec_sensor_ring_process_event() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/lib/ |
| H A D | interrupts.c | 76 static volatile ulong timestamp = 0; variable 86 timestamp++; in timer_interrupt() 89 if ((timestamp % (CONFIG_SYS_WATCHDOG_FREQ)) == 0) in timer_interrupt() 94 status_led_tick (timestamp); in timer_interrupt() 98 board_show_activity (timestamp); in timer_interrupt() 104 return (timestamp - base); in get_timer()
|
| /OK3568_Linux_fs/u-boot/arch/nds32/cpu/n1213/ag101/ |
| H A D | timer.c | 16 static ulong timestamp; variable 77 timestamp = 0; /* start "advancing" time stamp from 0 */ in reset_timer_masked() 110 timestamp += lastdec - now; in get_timer_masked() 121 timestamp += lastdec + TIMER_LOAD_VAL - now; in get_timer_masked() 126 debug("%s() returns %lx\n", __func__, timestamp); in get_timer_masked() 128 return timestamp; in get_timer_masked() 143 timestamp = t; in set_timer()
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/inv_mpu6050/ |
| H A D | inv_mpu_ring.c | 29 s64 timestamp, size_t nb) in inv_mpu6050_update_period() argument 51 delta = div_s64(timestamp - st->it_timestamp, divider); in inv_mpu6050_update_period() 66 st->data_timestamp = timestamp - interval; in inv_mpu6050_update_period() 70 st->it_timestamp = timestamp; in inv_mpu6050_update_period() 124 s64 timestamp; in inv_mpu6050_read_fifo() local 180 inv_mpu6050_update_period(st, pf->timestamp, nb); in inv_mpu6050_read_fifo() 191 timestamp = inv_mpu6050_get_timestamp(st); in inv_mpu6050_read_fifo() 192 iio_push_to_buffers_with_timestamp(indio_dev, st->data, timestamp); in inv_mpu6050_read_fifo()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/ |
| H A D | video_buffer.h | 59 explicit VideoBuffer (int64_t timestamp = InvalidTimestamp) 60 : _buf_type(0), _timestamp(timestamp) 62 explicit VideoBuffer (const VideoBufferInfo &info, int64_t timestamp = InvalidTimestamp) 64 , _timestamp (timestamp) in _videoinfo() 83 void set_timestamp (int64_t timestamp) { in set_timestamp() argument 84 _timestamp = timestamp; in set_timestamp()
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/inv_icm42600/ |
| H A D | inv_icm42600_timestamp.c | 113 size_t sensor_nb, int64_t timestamp) in inv_icm42600_timestamp_interrupt() argument 128 it->up = timestamp; in inv_icm42600_timestamp_interrupt() 140 if (ts->timestamp == 0) { in inv_icm42600_timestamp_interrupt() 143 ts->timestamp = it->up - interval; in inv_icm42600_timestamp_interrupt() 152 delta = it->lo - ts->timestamp; in inv_icm42600_timestamp_interrupt() 162 ts->timestamp += delta; in inv_icm42600_timestamp_interrupt() 187 if (ts->timestamp != 0) { in inv_icm42600_timestamp_apply_odr() 193 ts->timestamp = ts->it.up - interval; in inv_icm42600_timestamp_apply_odr()
|
| H A D | inv_icm42600_timestamp.h | 46 int64_t timestamp; member 63 size_t sensor_nb, int64_t timestamp); 68 ts->timestamp += ts->period; in inv_icm42600_timestamp_pop() 69 return ts->timestamp; in inv_icm42600_timestamp_pop() 82 ts->timestamp = 0; in inv_icm42600_timestamp_reset()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
| H A D | base.c | 79 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger() 81 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger() 82 if (alarm->timestamp > nvkm_timer_read(tmr)) in nvkm_timer_alarm_trigger() 121 alarm->timestamp = nvkm_timer_read(tmr) + nsec; in nvkm_timer_alarm() 123 if (list->timestamp > alarm->timestamp) in nvkm_timer_alarm() 132 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm() 138 WARN_ON(alarm->timestamp <= nvkm_timer_read(tmr)); in nvkm_timer_alarm()
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | timestamping.rst | 14 Generates a timestamp for each incoming packet in (not necessarily 15 monotonic) system time. Reports the timestamp via recvmsg() in a 25 timestamp as struct timespec in nsec resolution. 33 Only for multicast:approximate transmit timestamp obtained by 34 reading the looped packet receive timestamp. 38 multiple timestamp sources, including hardware. Supports generating 48 same is true for all early receive timestamp options. 52 Always use SO_TIMESTAMP_NEW timestamp to always get timestamp in 64 Always use SO_TIMESTAMPNS_NEW timestamp to always get timestamp in 73 Supports multiple types of timestamp requests. As a result, this [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/trace/postprocess/ |
| H A D | trace-vmscan-postprocess.pl | 261 my $timestamp = $_[0]; 263 my ($sec, $usec) = split (/\./, $timestamp); 271 my $timestamp; 281 $timestamp = $4; 306 $timestamp = timestamp_to_ms($timestamp); 308 $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN} = $timestamp; 327 $timestamp = timestamp_to_ms($timestamp); 329 my $latency = ($timestamp - $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN}); 344 $timestamp = timestamp_to_ms($timestamp); 346 $perprocesspid{$process_pid}->{STATE_KSWAPD_BEGIN} = $timestamp; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| H A D | fw_tracer.h | 60 u64 timestamp; member 118 u32 timestamp; member 142 u64 timestamp; member 147 u32 timestamp; member 165 u8 timestamp[0x7]; member 172 u8 timestamp[0x7]; member
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-stm32/stm32f7/ |
| H A D | timer.c | 19 #define timestamp gd->arch.tbl macro 46 timestamp = 0; in timer_init() 81 timestamp += now - lastdec; in get_timer_masked() 84 timestamp += now + GPT_FREE_RUNNING - lastdec; in get_timer_masked() 88 return timestamp; in get_timer_masked()
|