Lines Matching refs:timestamp
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
530 u64 sec = timestamp / NSEC_PER_SEC; in timestamp__scnprintf_usec()
531 u64 usec = (timestamp % NSEC_PER_SEC) / NSEC_PER_USEC; in timestamp__scnprintf_usec()
536 int timestamp__scnprintf_nsec(u64 timestamp, char *buf, size_t sz) in timestamp__scnprintf_nsec() argument
538 u64 sec = timestamp / NSEC_PER_SEC, in timestamp__scnprintf_nsec()
539 nsec = timestamp % NSEC_PER_SEC; in timestamp__scnprintf_nsec()