Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dtime-utils.c15 int parse_nsec_time(const char *str, u64 *ptime) in parse_nsec_time() argument
44 *ptime = time_sec * NSEC_PER_SEC + time_nsec; in parse_nsec_time()
48 static int parse_timestr_sec_nsec(struct perf_time_interval *ptime, in parse_timestr_sec_nsec() argument
52 (parse_nsec_time(start_str, &ptime->start) != 0)) { in parse_timestr_sec_nsec()
57 (parse_nsec_time(end_str, &ptime->end) != 0)) { in parse_timestr_sec_nsec()
91 int perf_time__parse_str(struct perf_time_interval *ptime, const char *ostr) in perf_time__parse_str() argument
100 ptime->start = 0; in perf_time__parse_str()
101 ptime->end = 0; in perf_time__parse_str()
103 rc = parse_timestr_sec_nsec(ptime, start_str, end_str); in perf_time__parse_str()
108 if (rc == 0 && ptime->end && ptime->end < ptime->start) in perf_time__parse_str()
[all …]
Dtime-utils.h12 int parse_nsec_time(const char *str, u64 *ptime);
14 int perf_time__parse_str(struct perf_time_interval *ptime, const char *ostr);
21 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp);
/Linux-v4.19/tools/perf/
Dbuiltin-sched.c235 struct perf_time_interval ptime; member
2413 !perf_time__skip_sample(&sched->ptime, sample->time)) in timehist_sched_wakeup_event()
2507 struct perf_time_interval *ptime = &sched->ptime; in timehist_sched_change_event() local
2545 if (ptime->start && ptime->start > t) in timehist_sched_change_event()
2548 if (tprev && ptime->start > tprev) in timehist_sched_change_event()
2549 tprev = ptime->start; in timehist_sched_change_event()
2557 if (ptime->end) { in timehist_sched_change_event()
2558 if (tprev > ptime->end) in timehist_sched_change_event()
2561 if (t > ptime->end) in timehist_sched_change_event()
2562 t = ptime->end; in timehist_sched_change_event()
[all …]
Dbuiltin-kmem.c77 static struct perf_time_interval ptime; variable
925 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-v4.19/kernel/time/
Dposix-cpu-timers.c914 u64 utime, ptime, virt_expires, prof_expires; in check_process_timers() local
941 ptime = utime + cputime.stime; in check_process_timers()
944 prof_expires = check_timers_list(timers, firing, ptime); in check_process_timers()
951 check_cpu_itimer(tsk, &sig->it[CPUCLOCK_PROF], &prof_expires, ptime, in check_process_timers()
957 unsigned long psecs = div_u64(ptime, NSEC_PER_SEC); in check_process_timers()
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-npei-defs.h1638 uint64_t ptime:1; member
1676 uint64_t ptime:1;
1772 uint64_t ptime:1; member
1810 uint64_t ptime:1;
1905 uint64_t ptime:1; member
1943 uint64_t ptime:1;
2040 uint64_t ptime:1; member
2078 uint64_t ptime:1;
2172 uint64_t ptime:1; member
2210 uint64_t ptime:1;
[all …]
Dcvmx-mio-defs.h4433 uint64_t ptime:1; member
4445 uint64_t ptime:1;
5218 uint64_t ptime:1; member
5230 uint64_t ptime:1;
/Linux-v4.19/sound/usb/
Dpcm.c951 unsigned int ptime; in hw_check_valid_format() local
978 ptime = 125 * (1 << fp->datainterval); in hw_check_valid_format()
979 if (ptime > pt->max || (ptime == pt->max && pt->openmax)) { in hw_check_valid_format()
980 hwc_debug(" > check: ptime %u > max %u\n", ptime, pt->max); in hw_check_valid_format()