NSEC_PER_MSEC 28 arch/arm/mach-bcm/platsmp.c #define SECONDARY_TIMEOUT_NS NSEC_PER_MSEC /* 1 msec (in nanoseconds) */ NSEC_PER_MSEC 640 arch/powerpc/platforms/cell/spu_base.c return time / NSEC_PER_MSEC; NSEC_PER_MSEC 2235 arch/powerpc/platforms/cell/spufs/file.c return time / NSEC_PER_MSEC; NSEC_PER_MSEC 131 arch/x86/kernel/cpu/vmware.c vmware_tsc_khz, NSEC_PER_MSEC, 0); NSEC_PER_MSEC 97 arch/x86/kernel/nmi.c static u64 nmi_longest_ns = 1 * NSEC_PER_MSEC; NSEC_PER_MSEC 137 arch/x86/kernel/tsc.c NSEC_PER_MSEC, 0); NSEC_PER_MSEC 222 block/bfq-iosched.c #define BFQ_MIN_TT (2 * NSEC_PER_MSEC) NSEC_PER_MSEC 249 block/bfq-iosched.c #define BFQ_RATE_MIN_INTERVAL (300*NSEC_PER_MSEC) NSEC_PER_MSEC 2980 block/bfq-iosched.c sl = max_t(u32, sl, 20ULL * NSEC_PER_MSEC); NSEC_PER_MSEC 3199 block/bfq-iosched.c if (now_ns - bfqd->last_dispatch > 100*NSEC_PER_MSEC && NSEC_PER_MSEC 3746 block/bfq-iosched.c *delta_ms = BFQ_MIN_TT / NSEC_PER_MSEC; NSEC_PER_MSEC 3748 block/bfq-iosched.c *delta_ms = bfq_slice_idle / NSEC_PER_MSEC; NSEC_PER_MSEC 6592 block/bfq-iosched.c __data = div_u64(__data, NSEC_PER_MSEC); \ NSEC_PER_MSEC 6635 block/bfq-iosched.c *(__PTR) = (u64)__data * NSEC_PER_MSEC; \ NSEC_PER_MSEC 6736 block/bfq-iosched.c && bfqd->bfq_slice_idle < 8 * NSEC_PER_MSEC) NSEC_PER_MSEC 6737 block/bfq-iosched.c bfqd->bfq_slice_idle = 8 * NSEC_PER_MSEC; NSEC_PER_MSEC 1719 block/blk-cgroup.c delay_nsec = min_t(u64, delay_nsec, 250 * NSEC_PER_MSEC); NSEC_PER_MSEC 155 block/blk-iolatency.c #define BLKIOLATENCY_MIN_WIN_SIZE (100 * NSEC_PER_MSEC) NSEC_PER_MSEC 517 block/blk-iolatency.c #define BLKIOLATENCY_MIN_ADJUST_TIME (500 * NSEC_PER_MSEC) NSEC_PER_MSEC 927 block/blk-iolatency.c cur_win = div64_u64(iolat->cur_win_nsec, NSEC_PER_MSEC); NSEC_PER_MSEC 982 block/blk-iolatency.c iolat->cur_win_nsec = 100 * NSEC_PER_MSEC; NSEC_PER_MSEC 71 block/kyber-iosched.c [KYBER_READ] = 2ULL * NSEC_PER_MSEC, NSEC_PER_MSEC 72 block/kyber-iosched.c [KYBER_WRITE] = 10ULL * NSEC_PER_MSEC, NSEC_PER_MSEC 33 drivers/acpi/apei/einj.c #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC) NSEC_PER_MSEC 49 drivers/acpi/apei/erst.c #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC) NSEC_PER_MSEC 176 drivers/base/power/runtime.c expires += (u64)autosuspend_delay * NSEC_PER_MSEC; NSEC_PER_MSEC 560 drivers/base/power/runtime.c (NSEC_PER_MSEC >> 2); NSEC_PER_MSEC 979 drivers/base/power/runtime.c expires = ktime_get_mono_fast_ns() + (u64)delay * NSEC_PER_MSEC; NSEC_PER_MSEC 128 drivers/base/power/sysfs.c do_div(tmp, NSEC_PER_MSEC); NSEC_PER_MSEC 140 drivers/base/power/sysfs.c do_div(tmp, NSEC_PER_MSEC); NSEC_PER_MSEC 36 drivers/cpufreq/intel_pstate.c #define INTEL_PSTATE_SAMPLING_INTERVAL (10 * NSEC_PER_MSEC) NSEC_PER_MSEC 1593 drivers/cpufreq/intel_pstate.c static int hwp_boost_hold_time_ns = 3 * NSEC_PER_MSEC; NSEC_PER_MSEC 604 drivers/cpufreq/pmac64-cpufreq.c transition_latency = 10 * NSEC_PER_MSEC; NSEC_PER_MSEC 763 drivers/gpu/drm/bridge/cdns-dsi.c ulpout = DIV_ROUND_UP(NSEC_PER_MSEC, sysclk_period); NSEC_PER_MSEC 8222 drivers/gpu/drm/i915/intel_pm.c do_div(diffms, NSEC_PER_MSEC); NSEC_PER_MSEC 111 drivers/gpu/drm/i915/intel_uncore.c NSEC_PER_MSEC, NSEC_PER_MSEC 112 drivers/gpu/drm/i915/intel_uncore.c NSEC_PER_MSEC, NSEC_PER_MSEC 65 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); NSEC_PER_MSEC 66 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); NSEC_PER_MSEC 176 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); NSEC_PER_MSEC 178 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); NSEC_PER_MSEC 285 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); NSEC_PER_MSEC 287 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); NSEC_PER_MSEC 259 drivers/gpu/drm/nouveau/nouveau_fence.c unsigned long sleep_time = NSEC_PER_MSEC / 1000; NSEC_PER_MSEC 278 drivers/gpu/drm/nouveau/nouveau_fence.c if (sleep_time > NSEC_PER_MSEC) NSEC_PER_MSEC 279 drivers/gpu/drm/nouveau/nouveau_fence.c sleep_time = NSEC_PER_MSEC; NSEC_PER_MSEC 351 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c st->chip_period = NSEC_PER_MSEC; NSEC_PER_MSEC 34 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c (NSEC_PER_MSEC * (100 - INV_MPU6050_TS_PERIOD_JITTER)) / 100; NSEC_PER_MSEC 36 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c (NSEC_PER_MSEC * (100 + INV_MPU6050_TS_PERIOD_JITTER)) / 100; NSEC_PER_MSEC 150 drivers/infiniband/hw/hfi1/aspm.c ASPM_RESCHED_TIMER_MS * NSEC_PER_MSEC; NSEC_PER_MSEC 2520 drivers/infiniband/ulp/srp/ib_srp.c do_div(max_compl_time_ms, NSEC_PER_MSEC); NSEC_PER_MSEC 229 drivers/md/bcache/sysfs.c NSEC_PER_MSEC) : 0; NSEC_PER_MSEC 388 drivers/md/bcache/util.h #define NSEC_PER_ms NSEC_PER_MSEC NSEC_PER_MSEC 93 drivers/md/bcache/writeback.c dc->writeback_rate.next + NSEC_PER_MSEC))) { NSEC_PER_MSEC 1113 drivers/media/dvb-core/dvb_net.c ktime_t timeout = ns_to_ktime(10 * NSEC_PER_MSEC); NSEC_PER_MSEC 513 drivers/media/pci/pt1/pt1.c delay = ktime_set(0, PT1_FETCH_DELAY * NSEC_PER_MSEC); NSEC_PER_MSEC 516 drivers/media/pci/pt1/pt1.c PT1_FETCH_DELAY_DELTA * NSEC_PER_MSEC, NSEC_PER_MSEC 447 drivers/media/pci/pt3/pt3.c delay = ktime_set(0, PT3_FETCH_DELAY * NSEC_PER_MSEC); NSEC_PER_MSEC 450 drivers/media/pci/pt3/pt3.c PT3_FETCH_DELAY_DELTA * NSEC_PER_MSEC, NSEC_PER_MSEC 68 drivers/memory/pl172.c cycles = DIV_ROUND_UP(val * pl172->rate, NSEC_PER_MSEC) - start; NSEC_PER_MSEC 144 drivers/memory/ti-aemif.c result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; NSEC_PER_MSEC 219 drivers/memory/ti-aemif.c return ((val + 1) * NSEC_PER_MSEC) / clk_rate; NSEC_PER_MSEC 650 drivers/mmc/core/mmc_ops.c data.timeout_ns = 150 * NSEC_PER_MSEC; NSEC_PER_MSEC 203 drivers/mmc/host/meson-gx-mmc.c unsigned int timeout = data->timeout_ns / NSEC_PER_MSEC; NSEC_PER_MSEC 1368 drivers/mmc/host/omap_hsmmc.c timeout = req->cmd->busy_timeout * NSEC_PER_MSEC; NSEC_PER_MSEC 364 drivers/mmc/host/sdhci.h #define MMC_CMD_TRANSFER_TIME (10 * NSEC_PER_MSEC) /* max 10 ms */ NSEC_PER_MSEC 104 drivers/net/ethernet/xilinx/ll_temac_main.c #define HARD_ACS_RDY_POLL_NS (20 * NSEC_PER_MSEC) NSEC_PER_MSEC 1112 drivers/power/supply/charger-manager.c (wakeup_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); NSEC_PER_MSEC 174 drivers/pps/generators/pps_gen_parport.c ((ts.tv_nsec > 990 * NSEC_PER_MSEC) ? 1 : 0), NSEC_PER_MSEC 240 drivers/pwm/pwm-imx-tpm.c NSEC_PER_MSEC + 1); NSEC_PER_MSEC 202 drivers/pwm/pwm-imx27.c NSEC_PER_MSEC); NSEC_PER_MSEC 254 drivers/pwm/pwm-stm32.c if (prd >= (tmo_ms * NSEC_PER_MSEC) >> (icpsc + 2)) NSEC_PER_MSEC 65 drivers/staging/exfat/exfat_super.c ts->tv_nsec = tp->MilliSecond * NSEC_PER_MSEC; NSEC_PER_MSEC 98 drivers/staging/exfat/exfat_super.c tp->MilliSecond = ts->tv_nsec / NSEC_PER_MSEC; NSEC_PER_MSEC 242 drivers/staging/olpc_dcon/olpc_dcon.c if (ktime_to_ns(delta_t) > NSEC_PER_MSEC * 20) NSEC_PER_MSEC 350 drivers/staging/olpc_dcon/olpc_dcon.c < NSEC_PER_MSEC * 20) { NSEC_PER_MSEC 228 drivers/usb/chipidea/otg_fsm.c timer_nsec = (otg_timer_ms[t] % MSEC_PER_SEC) * NSEC_PER_MSEC; NSEC_PER_MSEC 237 drivers/usb/chipidea/otg_fsm.c ci->hr_timeouts[t], NSEC_PER_MSEC, NSEC_PER_MSEC 277 drivers/usb/chipidea/otg_fsm.c ci->hr_timeouts[next_timer], NSEC_PER_MSEC, NSEC_PER_MSEC 411 drivers/usb/chipidea/otg_fsm.c NSEC_PER_MSEC, HRTIMER_MODE_ABS); NSEC_PER_MSEC 844 drivers/usb/gadget/udc/dummy_hcd.c return ts64.tv_nsec / NSEC_PER_MSEC; NSEC_PER_MSEC 61 drivers/usb/host/ehci-timer.c 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_ASS */ NSEC_PER_MSEC 62 drivers/usb/host/ehci-timer.c 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_PSS */ NSEC_PER_MSEC 63 drivers/usb/host/ehci-timer.c 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_DEAD */ NSEC_PER_MSEC 65 drivers/usb/host/ehci-timer.c 2 * NSEC_PER_MSEC, /* EHCI_HRTIMER_FREE_ITDS */ NSEC_PER_MSEC 66 drivers/usb/host/ehci-timer.c 2 * NSEC_PER_MSEC, /* EHCI_HRTIMER_ACTIVE_UNLINK */ NSEC_PER_MSEC 67 drivers/usb/host/ehci-timer.c 5 * NSEC_PER_MSEC, /* EHCI_HRTIMER_START_UNLINK_INTR */ NSEC_PER_MSEC 68 drivers/usb/host/ehci-timer.c 6 * NSEC_PER_MSEC, /* EHCI_HRTIMER_ASYNC_UNLINKS */ NSEC_PER_MSEC 69 drivers/usb/host/ehci-timer.c 10 * NSEC_PER_MSEC, /* EHCI_HRTIMER_IAA_WATCHDOG */ NSEC_PER_MSEC 70 drivers/usb/host/ehci-timer.c 10 * NSEC_PER_MSEC, /* EHCI_HRTIMER_DISABLE_PERIODIC */ NSEC_PER_MSEC 71 drivers/usb/host/ehci-timer.c 15 * NSEC_PER_MSEC, /* EHCI_HRTIMER_DISABLE_ASYNC */ NSEC_PER_MSEC 72 drivers/usb/host/ehci-timer.c 100 * NSEC_PER_MSEC, /* EHCI_HRTIMER_IO_WATCHDOG */ NSEC_PER_MSEC 89 drivers/usb/host/ehci-timer.c NSEC_PER_MSEC, HRTIMER_MODE_ABS); NSEC_PER_MSEC 1041 drivers/usb/host/fotg210-hcd.c 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_ASS */ NSEC_PER_MSEC 1042 drivers/usb/host/fotg210-hcd.c 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_PSS */ NSEC_PER_MSEC 1043 drivers/usb/host/fotg210-hcd.c 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_DEAD */ NSEC_PER_MSEC 1045 drivers/usb/host/fotg210-hcd.c 2 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_FREE_ITDS */ NSEC_PER_MSEC 1046 drivers/usb/host/fotg210-hcd.c 6 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_ASYNC_UNLINKS */ NSEC_PER_MSEC 1047 drivers/usb/host/fotg210-hcd.c 10 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_IAA_WATCHDOG */ NSEC_PER_MSEC 1048 drivers/usb/host/fotg210-hcd.c 10 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_DISABLE_PERIODIC */ NSEC_PER_MSEC 1049 drivers/usb/host/fotg210-hcd.c 15 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_DISABLE_ASYNC */ NSEC_PER_MSEC 1050 drivers/usb/host/fotg210-hcd.c 100 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_IO_WATCHDOG */ NSEC_PER_MSEC 1067 drivers/usb/host/fotg210-hcd.c NSEC_PER_MSEC, HRTIMER_MODE_ABS); NSEC_PER_MSEC 133 drivers/usb/usbip/vudc_dev.c (now.tv_nsec - udc->start_time.tv_nsec) / NSEC_PER_MSEC) NSEC_PER_MSEC 130 drivers/video/fbdev/pxa3xx-gcu.c ts.tv_nsec / NSEC_PER_MSEC, \ NSEC_PER_MSEC 131 drivers/video/fbdev/pxa3xx-gcu.c (ts.tv_nsec % NSEC_PER_MSEC) / USEC_PER_MSEC, \ NSEC_PER_MSEC 1801 fs/eventpoll.c .tv_nsec = NSEC_PER_MSEC * (ms % MSEC_PER_SEC), NSEC_PER_MSEC 481 fs/omfs/inode.c sb->s_time_gran = NSEC_PER_MSEC; NSEC_PER_MSEC 50 fs/select.c #define MAX_SLACK (100 * NSEC_PER_MSEC) NSEC_PER_MSEC 1056 fs/select.c NSEC_PER_MSEC * (timeout_msecs % MSEC_PER_SEC)); NSEC_PER_MSEC 496 fs/ubifs/io.c delta *= 10ULL * NSEC_PER_MSEC / 10ULL; NSEC_PER_MSEC 154 include/linux/clocksource.h return clocksource_freq2mult(khz, shift_constant, NSEC_PER_MSEC); NSEC_PER_MSEC 368 include/linux/genhd.h div_u64(part_stat_read(part, nsecs[which]), NSEC_PER_MSEC) NSEC_PER_MSEC 183 include/linux/ktime.h return ktime_divns(kt, NSEC_PER_MSEC); NSEC_PER_MSEC 203 include/linux/ktime.h return ktime_add_ns(kt, msec * NSEC_PER_MSEC); NSEC_PER_MSEC 213 include/linux/ktime.h return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); NSEC_PER_MSEC 272 include/linux/ktime.h return ms * NSEC_PER_MSEC; NSEC_PER_MSEC 65 include/net/codel.h #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT) NSEC_PER_MSEC 1108 kernel/events/core.c cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * interval); NSEC_PER_MSEC 9978 kernel/events/core.c cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * timer); NSEC_PER_MSEC 249 kernel/power/hibernate.c elapsed_centisecs64 = ktime_divns(diff, 10*NSEC_PER_MSEC); NSEC_PER_MSEC 239 kernel/power/wakelock.c u64 timeout_ms = timeout_ns + NSEC_PER_MSEC - 1; NSEC_PER_MSEC 241 kernel/power/wakelock.c do_div(timeout_ms, NSEC_PER_MSEC); NSEC_PER_MSEC 424 kernel/rcu/tree.c static long rcu_resched_ns = 3 * NSEC_PER_MSEC; NSEC_PER_MSEC 7375 kernel/sched/core.c static const u64 min_cfs_quota_period = 1 * NSEC_PER_MSEC; /* 1ms */ NSEC_PER_MSEC 2664 kernel/sched/fair.c current->numa_scan_period * mm_users * NSEC_PER_MSEC); NSEC_PER_MSEC 2691 kernel/sched/fair.c period = (u64)curr->numa_scan_period * NSEC_PER_MSEC; NSEC_PER_MSEC 4733 kernel/sched/fair.c static const u64 min_cfs_rq_runtime = 1 * NSEC_PER_MSEC; NSEC_PER_MSEC 4735 kernel/sched/fair.c static const u64 min_bandwidth_expiration = 2 * NSEC_PER_MSEC; NSEC_PER_MSEC 4737 kernel/sched/fair.c static const u64 cfs_bandwidth_slack_period = 5 * NSEC_PER_MSEC; NSEC_PER_MSEC 1694 kernel/time/hrtimer.c if (delta > 100 * NSEC_PER_MSEC) NSEC_PER_MSEC 1695 kernel/time/hrtimer.c expires_next = ktime_add_ns(now, 100 * NSEC_PER_MSEC); NSEC_PER_MSEC 53 kernel/time/timekeeping_debug.c (s64)t->tv_sec, t->tv_nsec / NSEC_PER_MSEC); NSEC_PER_MSEC 348 kernel/trace/ring_buffer_benchmark.c avg = NSEC_PER_MSEC / hit; NSEC_PER_MSEC 366 kernel/trace/ring_buffer_benchmark.c avg = NSEC_PER_MSEC / (hit + missed); NSEC_PER_MSEC 1561 net/ipv4/af_inet.c msecs += (u32)ts.tv_nsec / NSEC_PER_MSEC; NSEC_PER_MSEC 2722 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_comp_sack_delay_ns = NSEC_PER_MSEC; NSEC_PER_MSEC 1959 net/ipv4/tcp_output.c delta = tp->tcp_clock_cache - tp->tcp_wstamp_ns - NSEC_PER_MSEC; NSEC_PER_MSEC 3283 net/netfilter/nf_tables_api.c max = div_u64(max, NSEC_PER_MSEC); NSEC_PER_MSEC 3287 net/netfilter/nf_tables_api.c ms *= NSEC_PER_MSEC; NSEC_PER_MSEC 52 net/openvswitch/flow.c cur_ts.tv_nsec / NSEC_PER_MSEC; NSEC_PER_MSEC 77 net/sched/sch_pie.c params->target = PSCHED_NS2TICKS(15 * NSEC_PER_MSEC); /* 15 ms */ NSEC_PER_MSEC 88 net/sched/sch_pie.c vars->burst_time = PSCHED_NS2TICKS(150 * NSEC_PER_MSEC); NSEC_PER_MSEC 397 net/sched/sch_pie.c if (qdelay > (PSCHED_NS2TICKS(250 * NSEC_PER_MSEC))) NSEC_PER_MSEC 47 sound/soc/sof/debug.c test_end = ktime_get_ns() + ipc_duration_ms * NSEC_PER_MSEC; NSEC_PER_MSEC 972 tools/perf/builtin-report.c *time_q *= NSEC_PER_MSEC; NSEC_PER_MSEC 765 tools/perf/builtin-sched.c printf("#%-3ld: %0.3f, ", sched->nr_runs, (double)delta / NSEC_PER_MSEC); NSEC_PER_MSEC 767 tools/perf/builtin-sched.c printf("ravg: %0.2f, ", (double)sched->run_avg / NSEC_PER_MSEC); NSEC_PER_MSEC 770 tools/perf/builtin-sched.c (double)sched->cpu_usage / NSEC_PER_MSEC, (double)sched->runavg_cpu_usage / NSEC_PER_MSEC); NSEC_PER_MSEC 778 tools/perf/builtin-sched.c (double)sched->parent_cpu_usage / NSEC_PER_MSEC, NSEC_PER_MSEC 779 tools/perf/builtin-sched.c (double)sched->runavg_parent_cpu_usage / NSEC_PER_MSEC); NSEC_PER_MSEC 794 tools/perf/builtin-sched.c burn_nsecs(sched, NSEC_PER_MSEC); NSEC_PER_MSEC 800 tools/perf/builtin-sched.c sleep_nsecs(NSEC_PER_MSEC); NSEC_PER_MSEC 1347 tools/perf/builtin-sched.c (double)work_list->total_runtime / NSEC_PER_MSEC, NSEC_PER_MSEC 1348 tools/perf/builtin-sched.c work_list->nb_atoms, (double)avg / NSEC_PER_MSEC, NSEC_PER_MSEC 1349 tools/perf/builtin-sched.c (double)work_list->max_lat / NSEC_PER_MSEC, NSEC_PER_MSEC 1838 tools/perf/builtin-sched.c msecs = nsecs / NSEC_PER_MSEC; NSEC_PER_MSEC 1839 tools/perf/builtin-sched.c nsecs -= msecs * NSEC_PER_MSEC; NSEC_PER_MSEC 3167 tools/perf/builtin-sched.c (double)sched->all_runtime / NSEC_PER_MSEC, sched->all_count); NSEC_PER_MSEC 439 tools/perf/builtin-stat.c ts.tv_nsec = (interval % USEC_PER_MSEC) * NSEC_PER_MSEC; NSEC_PER_MSEC 442 tools/perf/builtin-stat.c ts.tv_nsec = (timeout % USEC_PER_MSEC) * NSEC_PER_MSEC; NSEC_PER_MSEC 1291 tools/perf/builtin-timechart.c sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); NSEC_PER_MSEC 1901 tools/perf/builtin-timechart.c *value *= NSEC_PER_MSEC; NSEC_PER_MSEC 1927 tools/perf/builtin-timechart.c .min_time = NSEC_PER_MSEC, NSEC_PER_MSEC 1027 tools/perf/builtin-trace.c double duration = (double)t / NSEC_PER_MSEC; NSEC_PER_MSEC 1299 tools/perf/builtin-trace.c return t < (trace->duration_filter * NSEC_PER_MSEC); NSEC_PER_MSEC 1304 tools/perf/builtin-trace.c double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; NSEC_PER_MSEC 1907 tools/perf/builtin-trace.c double ts = (double)sample->time / NSEC_PER_MSEC; NSEC_PER_MSEC 2292 tools/perf/builtin-trace.c double runtime_ms = (double)runtime / NSEC_PER_MSEC; NSEC_PER_MSEC 3678 tools/perf/builtin-trace.c entry->msecs = stats ? (u64)stats->n * (avg_stats(stats) / NSEC_PER_MSEC) : 0; NSEC_PER_MSEC 3701 tools/perf/builtin-trace.c double min = (double)(stats->min) / NSEC_PER_MSEC; NSEC_PER_MSEC 3702 tools/perf/builtin-trace.c double max = (double)(stats->max) / NSEC_PER_MSEC; NSEC_PER_MSEC 3708 tools/perf/builtin-trace.c avg /= NSEC_PER_MSEC; NSEC_PER_MSEC 2577 tools/perf/ui/browsers/hists.c starttime -= 1*NSEC_PER_MSEC; NSEC_PER_MSEC 2578 tools/perf/ui/browsers/hists.c endtime += 1*NSEC_PER_MSEC; NSEC_PER_MSEC 17 tools/perf/ui/browsers/res_sample.c static u64 context_len = 10 * NSEC_PER_MSEC; NSEC_PER_MSEC 1852 tools/perf/util/header.c session->evlist->first_sample_time) / NSEC_PER_MSEC; NSEC_PER_MSEC 279 tools/perf/util/svghelper.c if (duration < NSEC_PER_MSEC) { /* less than 1 msec */ NSEC_PER_MSEC 283 tools/perf/util/svghelper.c sprintf(text, "%.1f ms", duration / (double)NSEC_PER_MSEC); NSEC_PER_MSEC 299 tools/perf/util/svghelper.c if (end-start > 10 * NSEC_PER_MSEC) /* 10 msec */ NSEC_PER_MSEC 58 tools/perf/util/symbol.c .time_quantum = 100 * NSEC_PER_MSEC, /* 100ms */