Home
last modified time | relevance | path

Searched refs:ptime (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/util/
A Dtime-utils.c103 ptime->start = 0; in perf_time__parse_str()
104 ptime->end = 0; in perf_time__parse_str()
111 if (rc == 0 && ptime->end && ptime->end < ptime->start) in perf_time__parse_str()
167 if (ptime[i].end >= ptime[i + 1].start) { in perf_time__parse_strs()
212 if (ptime->end > ptime->start && ptime->end != end) in set_percent_time()
213 ptime->end -= 1; in set_percent_time()
415 ptime = calloc(i, sizeof(*ptime)); in perf_time__range_alloc()
416 return ptime; in perf_time__range_alloc()
426 if ((ptime->start && timestamp < ptime->start) || in perf_time__skip_sample()
427 (ptime->end && timestamp > ptime->end)) { in perf_time__skip_sample()
[all …]
A Dtime-utils.h13 int parse_nsec_time(const char *str, u64 *ptime);
15 int perf_time__parse_str(struct perf_time_interval *ptime, const char *ostr);
22 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp);
/linux/tools/perf/tests/
A Dtime-utils-test.c14 u64 ptime; in test__parse_nsec_time() local
25 if (ptime != expected) { in test__parse_nsec_time()
27 ptime, expected); in test__parse_nsec_time()
38 struct perf_time_interval ptime; in test__perf_time__parse_str() local
49 if (ptime.start != start || ptime.end != end) { in test__perf_time__parse_str()
102 if (ptime[i].start != d->ptime[i].start || in test__perf_time__parse_for_ranges()
103 ptime[i].end != d->ptime[i].end) { in test__perf_time__parse_for_ranges()
105 i, d->ptime[i].start, d->ptime[i].end); in test__perf_time__parse_for_ranges()
130 free(ptime); in test__perf_time__parse_for_ranges()
162 .ptime = { {b, b + 1}, }, in test__time_utils()
[all …]
/linux/tools/perf/
A Dbuiltin-sched.c246 struct perf_time_interval ptime; member
2532 struct perf_time_interval *ptime = &sched->ptime; in timehist_sched_change_event() local
2569 if (ptime->start && ptime->start > t) in timehist_sched_change_event()
2572 if (tprev && ptime->start > tprev) in timehist_sched_change_event()
2573 tprev = ptime->start; in timehist_sched_change_event()
2581 if (ptime->end) { in timehist_sched_change_event()
2582 if (tprev > ptime->end) in timehist_sched_change_event()
2585 if (t > ptime->end) in timehist_sched_change_event()
2586 t = ptime->end; in timehist_sched_change_event()
2630 if (sched->hist_time.start == 0 && t >= ptime->start) in timehist_sched_change_event()
[all …]
A Dbuiltin-kmem.c82 static struct perf_time_interval ptime; variable
927 if (perf_time__skip_sample(&ptime, sample->time)) in perf_kmem__skip_sample()
1983 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
/linux/arch/mips/include/asm/octeon/
A Dcvmx-npei-defs.h1561 uint64_t ptime:1; member
1599 uint64_t ptime:1;
1694 uint64_t ptime:1; member
1732 uint64_t ptime:1;
1826 uint64_t ptime:1; member
1864 uint64_t ptime:1;
1961 uint64_t ptime:1; member
1999 uint64_t ptime:1;
2092 uint64_t ptime:1; member
2130 uint64_t ptime:1;
[all …]
A Dcvmx-mio-defs.h3646 uint64_t ptime:1; member
3658 uint64_t ptime:1;
4061 uint64_t ptime:1; member
4073 uint64_t ptime:1;
/linux/sound/usb/
A Dpcm.c688 unsigned int ptime; in hw_check_valid_format() local
715 ptime = 125 * (1 << fp->datainterval); in hw_check_valid_format()
716 if (ptime > pt->max || (ptime == pt->max && pt->openmax)) { in hw_check_valid_format()
717 hwc_debug(" > check: ptime %u > max %u\n", ptime, pt->max); in hw_check_valid_format()
/linux/kernel/time/
A Dposix-cpu-timers.c1009 u64 ptime = samples[CPUCLOCK_PROF]; in check_process_timers() local
1015 check_rlimit(ptime, hardns, SIGKILL, false, true)) in check_process_timers()
1019 if (check_rlimit(ptime, softns, SIGXCPU, false, false)) { in check_process_timers()

Completed in 59 milliseconds