Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC (Results 1 – 98 of 98) sorted by relevance

/linux-4.1.27/include/uapi/linux/
Dtime.h48 #define CLOCK_MONOTONIC 1 macro
61 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
62 #define CLOCKS_MONO CLOCK_MONOTONIC
/linux-4.1.27/tools/testing/selftests/timers/
Dmqueue-lat.c86 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test()
101 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
Dnanosleep.c45 #define CLOCK_MONOTONIC 1 macro
65 case CLOCK_MONOTONIC: in clockstring()
Dalarmtimer-suspend.c45 #define CLOCK_MONOTONIC 1 macro
73 case CLOCK_MONOTONIC: in clockstring()
Dnsleep-lat.c46 #define CLOCK_MONOTONIC 1 macro
66 case CLOCK_MONOTONIC: in clockstring()
Dinconsistency-check.c48 #define CLOCK_MONOTONIC 1 macro
66 case CLOCK_MONOTONIC: in clockstring()
Draw_skew.c90 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
92 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
Dthreadtest.c104 clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); in shared_thread()
123 clock_gettime(CLOCK_MONOTONIC, &my_list[count]); in independent_thread()
Dset-timer-lat.c44 #define CLOCK_MONOTONIC 1 macro
72 case CLOCK_MONOTONIC: in clockstring()
Dleap-a-day.c303 clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL); in main()
/linux-4.1.27/arch/arm64/kernel/vdso/
Dgettimeofday.S92 ccmp w0, #CLOCK_MONOTONIC, #0x4, ne
108 cmp w0, #CLOCK_MONOTONIC
178 ccmp w0, #CLOCK_MONOTONIC, #0x4, ne
/linux-4.1.27/sound/core/
Dhrtimer.c68 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open()
128 hrtimer_get_res(CLOCK_MONOTONIC, &tp); in snd_hrtimer_init()
/linux-4.1.27/tools/testing/selftests/vm/
Dtranshuge-stress.c108 clock_gettime(CLOCK_MONOTONIC, &a); in main()
136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
/linux-4.1.27/tools/build/feature/
Dtest-timerfd.c10 int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in main()
/linux-4.1.27/sound/drivers/pcsp/
Dpcsp.c49 hrtimer_get_res(CLOCK_MONOTONIC, &tp); in snd_pcsp_create()
105 hrtimer_init(&pcsp_chip.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_card_pcsp_probe()
/linux-4.1.27/drivers/power/reset/
Dltc2952-poweroff.c176 hrtimer_init(&data->timer_trigger, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ltc2952_poweroff_default()
179 hrtimer_init(&data->timer_wde, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ltc2952_poweroff_default()
/linux-4.1.27/samples/bpf/
Dtracex4_user.c27 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns()
/linux-4.1.27/tools/perf/
Dperf.h28 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock()
Dbuiltin-record.c740 CLOCKID_MAP("monotonic", CLOCK_MONOTONIC),
749 CLOCKID_MAP("mono", CLOCK_MONOTONIC),
Dbuiltin-stat.c556 clock_gettime(CLOCK_MONOTONIC, &ts); in print_interval()
698 clock_gettime(CLOCK_MONOTONIC, &ref_time); in __run_perf_stat()
Dbuiltin-kvm.c814 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in perf_kvm__timerfd_create()
Dbuiltin-sched.c180 clock_gettime(CLOCK_MONOTONIC, &ts); in get_nsecs()
/linux-4.1.27/kernel/time/
Dtick-broadcast-hrtimer.c110 hrtimer_init(&bctimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in tick_setup_hrtimer_broadcast()
Dhrtimer.c75 .clockid = CLOCK_MONOTONIC,
102 [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC,
1152 clock_id = CLOCK_MONOTONIC; in __hrtimer_init()
1611 return hrtimer_nanosleep(&tu, rmtp, HRTIMER_MODE_REL, CLOCK_MONOTONIC); in SYSCALL_DEFINE2()
1821 CLOCK_MONOTONIC); in schedule_hrtimeout_range()
Dsched_clock.c249 hrtimer_init(&sched_clock_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in sched_clock_postinit()
Dtick-sched.c1028 hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in tick_nohz_switch_to_nohz()
1156 hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in tick_setup_sched_timer()
Dposix-timers.c336 posix_timers_register_clock(CLOCK_MONOTONIC, &clock_monotonic); in init_posix_timers()
/linux-4.1.27/arch/powerpc/kernel/vdso64/
Dgettimeofday.S65 cmpwi cr1,r3,CLOCK_MONOTONIC
143 cmpwi cr1,r3,CLOCK_MONOTONIC
/linux-4.1.27/drivers/oprofile/
Dtimer_int.c40 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in __oprofile_hrtimer_start()
/linux-4.1.27/arch/powerpc/kernel/vdso32/
Dgettimeofday.S76 cmpli cr1,r3,CLOCK_MONOTONIC
158 cmpwi cr1,r3,CLOCK_MONOTONIC
/linux-4.1.27/arch/arm64/kernel/
Dasm-offsets.c77 DEFINE(CLOCK_MONOTONIC, CLOCK_MONOTONIC); in main()
/linux-4.1.27/arch/powerpc/oprofile/cell/
Dspu_profiler.c208 hrtimer_init(&timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in start_spu_profiling_cycles()
/linux-4.1.27/drivers/staging/android/
Dtimed_gpio.c106 hrtimer_init(&gpio_dat->timer, CLOCK_MONOTONIC, in timed_gpio_probe()
/linux-4.1.27/net/mac802154/
Dmain.c151 hrtimer_init(&local->ifs_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ieee802154_register_hw()
/linux-4.1.27/arch/tile/kernel/vdso/
Dvgettimeofday.c183 case CLOCK_MONOTONIC: in __vdso_clock_gettime()
/linux-4.1.27/arch/arm/vdso/
Dvgettimeofday.c216 case CLOCK_MONOTONIC: in __vdso_clock_gettime()
/linux-4.1.27/net/can/
Dbcm.c921 hrtimer_init(&op->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in bcm_tx_setup()
929 hrtimer_init(&op->thrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in bcm_tx_setup()
1091 hrtimer_init(&op->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in bcm_rx_setup()
1098 hrtimer_init(&op->thrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in bcm_rx_setup()
/linux-4.1.27/virt/kvm/arm/
Darch_timer.c206 hrtimer_init(&timer->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in kvm_timer_vcpu_init()
/linux-4.1.27/arch/x86/vdso/
Dvclock_gettime.c299 case CLOCK_MONOTONIC: in __vdso_clock_gettime()
/linux-4.1.27/drivers/rtc/
Dclass.c220 hrtimer_init(&rtc->pie_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in rtc_device_register()
/linux-4.1.27/arch/ia64/kernel/
Dfsys.S136 #define CLOCK_MONOTONIC 1 macro
319 cmp4.ltu p6, p0 = CLOCK_MONOTONIC, r32
/linux-4.1.27/sound/soc/fsl/
Dimx-pcm-fiq.c188 hrtimer_init(&iprtd->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_imx_open()
/linux-4.1.27/drivers/input/joystick/
Dwalkera0701.c235 hrtimer_init(&w->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in walkera0701_connect()
/linux-4.1.27/sound/sh/
Dsh_dac_audio.c366 hrtimer_init(&chip->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_sh_dac_create()
/linux-4.1.27/drivers/staging/ozwpan/
Dozpd.c130 hrtimer_init(&pd->heartbeat, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in oz_pd_alloc()
131 hrtimer_init(&pd->timeout, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in oz_pd_alloc()
/linux-4.1.27/drivers/net/ieee802154/
Dat86rf230.c1622 hrtimer_init(&lp->state.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in at86rf230_setup_spi_messages()
1633 hrtimer_init(&lp->irq.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in at86rf230_setup_spi_messages()
1644 hrtimer_init(&lp->tx.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in at86rf230_setup_spi_messages()
/linux-4.1.27/arch/s390/kernel/
Dasm-offsets.c78 DEFINE(__CLOCK_MONOTONIC, CLOCK_MONOTONIC); in main()
/linux-4.1.27/kernel/
Dwatchdog.c445 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in watchdog_enable()
Dfutex.c2191 CLOCK_REALTIME : CLOCK_MONOTONIC, in futex_wait()
2585 CLOCK_REALTIME : CLOCK_MONOTONIC, in futex_wait_requeue_pi()
Dcompat.c256 HRTIMER_MODE_REL, CLOCK_MONOTONIC); in COMPAT_SYSCALL_DEFINE2()
Dfork.c1135 hrtimer_init(&sig->real_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in copy_signal()
/linux-4.1.27/drivers/media/pci/cx88/
Dcx88-input.c197 hrtimer_init(&ir->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in __cx88_ir_start()
/linux-4.1.27/fs/
Dtimerfd.c386 (clockid != CLOCK_MONOTONIC && in SYSCALL_DEFINE2()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_rapl.c243 hrtimer_init(hr, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in rapl_hrtimer_init()
Dperf_event_intel_uncore.c248 hrtimer_init(&box->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in uncore_pmu_init_hrtimer()
/linux-4.1.27/drivers/net/ethernet/
Dec_bhf.c428 hrtimer_init(&priv->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ec_bhf_open()
/linux-4.1.27/drivers/block/
Dnull_blk.c637 hrtimer_init(&cq->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in null_init()
/linux-4.1.27/include/linux/
Dwait.h454 hrtimer_init_on_stack(&__t.timer, CLOCK_MONOTONIC, \
/linux-4.1.27/drivers/media/usb/uvc/
Duvc_driver.c34 unsigned int uvc_clock_param = CLOCK_MONOTONIC;
2059 if (uvc_clock_param == CLOCK_MONOTONIC) in uvc_clock_param_get()
2071 uvc_clock_param = CLOCK_MONOTONIC; in uvc_clock_param_set()
Duvc_video.c366 if (uvc_clock_param == CLOCK_MONOTONIC) in uvc_video_get_ts()
/linux-4.1.27/drivers/video/fbdev/msm/
Dmsm_fb.c585 hrtimer_init(&msmfb->fake_vsync, CLOCK_MONOTONIC, in msmfb_probe()
/linux-4.1.27/drivers/usb/musb/
Dmusb_cppi41.c706 hrtimer_init(&controller->early_tx, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in dma_controller_create()
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00usb.c810 hrtimer_init(&rt2x00dev->txstatus_timer, CLOCK_MONOTONIC, in rt2x00usb_probe()
/linux-4.1.27/drivers/usb/chipidea/
Dotg_fsm.c410 hrtimer_init(&ci->otg_fsm_hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ci_otg_init_timers()
/linux-4.1.27/arch/powerpc/kernel/
Dasm-offsets.c425 DEFINE(CLOCK_MONOTONIC, CLOCK_MONOTONIC); in main()
/linux-4.1.27/tools/perf/Documentation/
Dperf-record.txt256 records. See clock_gettime(). In particular CLOCK_MONOTONIC and
/linux-4.1.27/arch/x86/kvm/
Di8254.c721 hrtimer_init(&pit_state->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in kvm_create_pit()
Dlapic.c1709 hrtimer_init(&apic->lapic_timer.timer, CLOCK_MONOTONIC, in kvm_create_lapic()
Dvmx.c6652 hrtimer_init(&vmx->nested.preemption_timer, CLOCK_MONOTONIC, in handle_vmon()
/linux-4.1.27/Documentation/sound/alsa/
Dtimestamping.txt32 CLOCK_MONOTONIC (NTP corrections but never going backwards),
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilegx.c1562 hrtimer_init(&tx_wake->timer, CLOCK_MONOTONIC, in tile_net_open()
2251 hrtimer_init(&info->egress_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in tile_net_init_module_percpu()
/linux-4.1.27/net/sched/
Dsch_api.c595 hrtimer_init(&wd->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED); in qdisc_watchdog_init()
1899 hrtimer_get_res(CLOCK_MONOTONIC, &ts); in psched_show()
Dsch_cbq.c1389 hrtimer_init(&q->delay_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED); in cbq_init()
/linux-4.1.27/drivers/usb/host/
Dehci-hcd.c470 hrtimer_init(&ehci->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ehci_init()
Dfusbh200-hcd.c5079 hrtimer_init(&fusbh200->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in hcd_fusbh200_init()
Dfotg210-hcd.c5147 hrtimer_init(&fotg210->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in hcd_fotg210_init()
/linux-4.1.27/drivers/net/ethernet/hisilicon/
Dhip04_eth.c846 hrtimer_init(&priv->tx_coalesce_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in hip04_mac_probe()
/linux-4.1.27/fs/ubifs/
Dio.c1060 hrtimer_init(&wbuf->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ubifs_wbuf_init()
/linux-4.1.27/drivers/ata/
Dpata_octeon_cf.c985 hrtimer_init(&cf_port->delayed_finish, CLOCK_MONOTONIC, in octeon_cf_probe()
/linux-4.1.27/Documentation/ioctl/
Dbotching-up-ioctls.txt129 * Use CLOCK_MONOTONIC as your reference time, always. It's what alsa, drm and
/linux-4.1.27/drivers/input/
Devdev.c158 case CLOCK_MONOTONIC: in evdev_set_clk_type()
/linux-4.1.27/sound/drivers/
Ddummy.c468 hrtimer_init(&dpcm->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in dummy_hrtimer_create()
/linux-4.1.27/kernel/sched/
Ddeadline.c638 hrtimer_init(timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_dl_task_timer()
Drt.c46 CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_rt_bandwidth()
Dfair.c4038 hrtimer_init(&cfs_b->period_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_cfs_bandwidth()
4040 hrtimer_init(&cfs_b->slack_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_cfs_bandwidth()
Dcore.c462 hrtimer_init(&rq->hrtick_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_rq_hrtick()
/linux-4.1.27/arch/mips/kvm/
Dmips.c1190 hrtimer_init(&vcpu->arch.comparecount_timer, CLOCK_MONOTONIC, in kvm_arch_vcpu_init()
/linux-4.1.27/drivers/s390/crypto/
Dap_bus.c2048 hrtimer_init(&ap_poll_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ap_module_init()
/linux-4.1.27/drivers/usb/gadget/function/
Df_ncm.c1457 hrtimer_init(&ncm->task_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ncm_bind()
/linux-4.1.27/drivers/bus/
Darm-ccn.c1141 hrtimer_init(&ccn->dt.hrtimer, CLOCK_MONOTONIC, in arm_ccn_pmu_init()
/linux-4.1.27/drivers/net/usb/
Dcdc_ncm.c732 hrtimer_init(&ctx->tx_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in cdc_ncm_bind_common()
/linux-4.1.27/drivers/firewire/
Dcore-cdev.c1218 case CLOCK_MONOTONIC: ktime_get_ts(&ts); break; in ioctl_get_cycle_timer2()
/linux-4.1.27/tools/perf/util/
Devsel.c1158 evsel->attr.clockid = CLOCK_MONOTONIC; /* should always work */ in __perf_evsel__open()
/linux-4.1.27/kernel/events/
Dcore.c821 hrtimer_init(hr, CLOCK_MONOTONIC, HRTIMER_MODE_REL_PINNED); in __perf_cpu_hrtimer_init()
6926 hrtimer_init(&hwc->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in perf_swevent_init_hrtimer()
7871 case CLOCK_MONOTONIC: in perf_event_set_clock()
/linux-4.1.27/arch/s390/kvm/
Dkvm-s390.c1345 hrtimer_init(&vcpu->arch.ckc_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in kvm_arch_vcpu_setup()
/linux-4.1.27/net/core/
Dpktgen.c2194 hrtimer_init_on_stack(&t.timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in spin()
Ddev.c4572 hrtimer_init(&napi->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_PINNED); in netif_napi_add()
/linux-4.1.27/drivers/scsi/
Dscsi_debug.c4031 hrtimer_init(&sd_hp->hrt, CLOCK_MONOTONIC, in schedule_resp()