Searched refs:ptime (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/tools/perf/util/ |
A D | time-utils.c | 103 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 D | time-utils.h | 13 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);
|
A D | kwork.h | 190 struct perf_time_interval ptime; member
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | time-utils-test.c | 14 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-6.3-rc2/tools/perf/ |
A D | builtin-sched.c | 247 struct perf_time_interval ptime; member 2559 struct perf_time_interval *ptime = &sched->ptime; in timehist_sched_change_event() local 2596 if (ptime->start && ptime->start > t) in timehist_sched_change_event() 2599 if (tprev && ptime->start > tprev) in timehist_sched_change_event() 2600 tprev = ptime->start; in timehist_sched_change_event() 2608 if (ptime->end) { in timehist_sched_change_event() 2609 if (tprev > ptime->end) in timehist_sched_change_event() 2612 if (t > ptime->end) in timehist_sched_change_event() 2613 t = ptime->end; in timehist_sched_change_event() 2657 if (sched->hist_time.start == 0 && t >= ptime->start) in timehist_sched_change_event() [all …]
|
A D | builtin-kwork.c | 370 struct perf_time_interval *ptime = &kwork->ptime; in profile_event_match() local 375 if (((ptime->start != 0) && (ptime->start > time)) || in profile_event_match() 376 ((ptime->end != 0) && (ptime->end < time))) in profile_event_match() 1358 ret = perf_time__parse_str(&kwork->ptime, kwork->time_str); in perf_kwork__check_config()
|
A D | builtin-kmem.c | 84 static struct perf_time_interval ptime; variable 939 if (perf_time__skip_sample(&ptime, sample->time)) in perf_kmem__skip_sample() 2018 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
|
/linux-6.3-rc2/arch/mips/include/asm/octeon/ |
A D | cvmx-npei-defs.h | 1561 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 D | cvmx-mio-defs.h | 3646 uint64_t ptime:1; member 3658 uint64_t ptime:1; 4061 uint64_t ptime:1; member 4073 uint64_t ptime:1;
|
/linux-6.3-rc2/sound/usb/ |
A D | pcm.c | 729 unsigned int ptime; in hw_check_valid_format() local 756 ptime = 125 * (1 << fp->datainterval); in hw_check_valid_format() 757 if (ptime > pt->max || (ptime == pt->max && pt->openmax)) { in hw_check_valid_format() 758 hwc_debug(" > check: ptime %u > max %u\n", ptime, pt->max); in hw_check_valid_format()
|
/linux-6.3-rc2/kernel/time/ |
A D | posix-cpu-timers.c | 1015 u64 ptime = samples[CPUCLOCK_PROF]; in check_process_timers() local 1021 check_rlimit(ptime, hardns, SIGKILL, false, true)) in check_process_timers() 1025 if (check_rlimit(ptime, softns, SIGXCPU, false, false)) { in check_process_timers()
|
Completed in 66 milliseconds