Searched refs:usec (Results 1 - 25 of 46) sorted by relevance

12

/xsrc/external/mit/xedit/dist/lisp/
H A Dtime.c46 long sec, usec; local in function:Lisp_Time
93 usec = real.it_interval.tv_usec - real.it_value.tv_usec;
94 if (usec < 0) {
96 usec += 1000000;
98 LispMessage("Real time : %g sec", sec + usec / 1000000.0);
101 usec = virt.it_interval.tv_usec - virt.it_value.tv_usec + 10000;
102 if (usec < 0) {
104 usec += 1000000;
106 LispMessage("Virtual time: %g sec", sec + usec / 1000000.0);
109 usec
[all...]
/xsrc/external/mit/libdrm/dist/tests/
H A Ddrmsl.c68 double usec; local in function:do_time
98 usec = (double)(stop.tv_sec * 1000000 + stop.tv_usec
101 printf("%0.2f microseconds for list length %d\n", usec, size);
106 return usec;
139 double usec, usec2, usec3, usec4; local in function:main
170 usec = do_time(100, 10000);
173 1000.0/100.0, usec2 / usec);
177 10000.0/100.0, usec3 / usec);
181 100000.0/100.0, usec4 / usec);
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/
H A Ddmxstat.c66 DMXStatAvg usec; member in struct:_DMXStatInfo
79 static unsigned long usec(struct timeval *stop, struct timeval *start) function in typeref:typename:unsigned long
144 unsigned long elapsed = usec(stop, start);
149 dmxStatValue(&s->usec, elapsed);
189 aSync = avg(&s->usec, &mSync);
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Damdgpu_drm_queue.h42 uint64_t usec, void *data);
H A Damdgpu_drm_queue.c45 uint64_t usec; member in struct:amdgpu_drm_queue_entry
73 e->handler(e->crtc, e->frame, e->usec, e->data);
94 unsigned int usec, void *user_ptr)
107 e->usec = (uint64_t)sec * 1000000 + usec;
93 amdgpu_drm_queue_handler(int fd,unsigned int frame,unsigned int sec,unsigned int usec,void * user_ptr) argument
H A Damdgpu_dri2.c453 amdgpu_dri2_flip_event_handler(xf86CrtcPtr crtc, uint32_t frame, uint64_t usec, argument
478 tv_sec = usec / 1000000;
479 tv_usec = usec % 1000000;
686 uint64_t usec, void *event_data)
736 DRI2SwapComplete(event->client, drawable, seq, usec / 1000000,
737 usec % 1000000, swap_type, event->event_complete,
742 DRI2WaitMSCComplete(event->client, drawable, seq, usec / 1000000,
743 usec % 1000000);
685 amdgpu_dri2_frame_event_handler(xf86CrtcPtr crtc,uint32_t seq,uint64_t usec,void * event_data) argument
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dradeon_drm_queue.h40 uint64_t usec, void *data);
H A Dradeon_drm_queue.c45 uint64_t usec; member in struct:radeon_drm_queue_entry
73 e->handler(e->crtc, e->frame, e->usec, e->data);
94 unsigned int usec, void *user_ptr)
107 e->usec = (uint64_t)sec * 1000000 + usec;
93 radeon_drm_queue_handler(int fd,unsigned int frame,unsigned int sec,unsigned int usec,void * user_ptr) argument
H A Dradeon_dri2.c549 radeon_dri2_flip_event_handler(xf86CrtcPtr crtc, uint32_t frame, uint64_t usec, argument
573 tv_sec = usec / 1000000;
574 tv_usec = usec % 1000000;
786 uint64_t usec, void *event_data)
834 DRI2SwapComplete(event->client, drawable, seq, usec / 1000000,
835 usec % 1000000, swap_type, event->event_complete,
840 DRI2WaitMSCComplete(event->client, drawable, seq, usec / 1000000,
841 usec % 1000000);
785 radeon_dri2_frame_event_handler(xf86CrtcPtr crtc,uint32_t seq,uint64_t usec,void * event_data) argument
/xsrc/external/mit/ctwm/dist/
H A Dmask_screen.c127 int i, j, usec; local in function:UnmaskScreen
129 usec = 6000;
130 timeout.tv_usec = usec % (unsigned long) 1000000;
131 timeout.tv_sec = usec / (unsigned long) 1000000;
H A Dwin_iconify.c618 int usec = timeout * 1000000; local in function:waitamoment
619 timeoutstruct.tv_usec = usec % (unsigned long) 1000000;
620 timeoutstruct.tv_sec = usec / (unsigned long) 1000000;
/xsrc/external/mit/xorg-server.old/dist/hw/sun/
H A Dsun.h87 # define usleep(usec) poll((struct pollfd *) 0, (size_t) 0, usec / 1000)
/xsrc/external/mit/xorg-server/dist/hw/sun/
H A Dsun.h87 # define usleep(usec) poll((struct pollfd *) 0, (size_t) 0, usec / 1000)
/xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
H A Ddriver.h76 uint64_t usec,
227 uint64_t usec,
H A Dpresent.c93 ms_present_vblank_handler(uint64_t msc, uint64_t usec, void *data) argument
100 present_event_notify(event->event_id, usec, msc);
/xsrc/external/mit/libdrm/dist/tests/vbltest/
H A Dvbltest.c58 unsigned int usec, void *data)
57 vblank_handler(int fd,unsigned int frame,unsigned int sec,unsigned int usec,void * data) argument
/xsrc/external/mit/MesaLib/dist/include/android_stub/log/
H A Dlog_time.h141 uint64_t usec() const { function in struct:log_time
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/i2c/
H A Dxf86i2c.h23 void (*I2CUDelay) (I2CBusPtr b, int usec);
38 int HoldTime; /* 1 / bus clock frequency, 5 or 2 usec */
40 int BitTimeout; /* usec */
41 int ByteTimeout; /* usec */
42 int AcknTimeout; /* usec */
43 int StartTimeout; /* usec */
44 int RiseFallTime; /* usec */
68 int BitTimeout; /* usec */
69 int ByteTimeout; /* usec */
70 int AcknTimeout; /* usec */
[all...]
H A Dxf86i2c.c42 * Delay execution at least usec microseconds.
47 I2CUDelay(I2CBusPtr b, int usec) argument
53 if (usec > 0) {
57 * but usleep (1) takes >10000 usec !
63 } while (diff>=0 && diff< (usec + 1));
76 #define RISEFALLTIME 2 /* usec, actually 300 to 1000 ns according to the i2c specs */
/xsrc/external/mit/xorg-server/dist/hw/xfree86/i2c/
H A Dxf86i2c.h24 void (*I2CUDelay) (I2CBusPtr b, int usec);
39 int HoldTime; /* 1 / bus clock frequency, 5 or 2 usec */
41 int BitTimeout; /* usec */
42 int ByteTimeout; /* usec */
43 int AcknTimeout; /* usec */
44 int StartTimeout; /* usec */
45 int RiseFallTime; /* usec */
71 int BitTimeout; /* usec */
72 int ByteTimeout; /* usec */
73 int AcknTimeout; /* usec */
[all...]
H A Dxf86i2c.c41 * Delay execution at least usec microseconds.
46 I2CUDelay(I2CBusPtr b, int usec) argument
52 if (usec > 0) {
56 * but usleep (1) takes >10000 usec !
62 } while (diff >= 0 && diff < (usec + 1));
75 #define RISEFALLTIME 2 /* usec, actually 300 to 1000 ns according to the i2c specs */
/xsrc/external/mit/xf86-video-intel/dist/src/uxa/
H A Dintel_present.c133 intel_present_vblank_handler(ScrnInfoPtr scrn, xf86CrtcPtr crtc, uint64_t msc, uint64_t usec, void *data) argument
137 present_event_notify(event->event_id, usec, msc);
H A Dintel_dri.c111 uint64_t usec,
114 I830DRI2FrameEventHandler((uint32_t) msc, usec / 1000000, usec % 1000000, data);
786 I830DRI2FlipComplete(uint64_t frame, uint64_t usec, void *pageflip_data) argument
790 I830DRI2FlipEventHandler((uint32_t) frame, usec / 1000000,
791 usec % 1000000,
108 intel_dri2_vblank_handler(ScrnInfoPtr scrn,xf86CrtcPtr crtc,uint64_t msc,uint64_t usec,void * data) argument
/xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
H A Dintel_present.c133 intel_present_vblank_handler(ScrnInfoPtr scrn, xf86CrtcPtr crtc, uint64_t msc, uint64_t usec, void *data) argument
137 present_event_notify(event->event_id, usec, msc);
H A Dintel_dri.c739 I830DRI2FlipComplete(uint64_t frame, uint64_t usec, void *pageflip_data) argument
743 I830DRI2FlipEventHandler((uint32_t) frame, usec / 1000000,
744 usec % 1000000,
1040 uint64_t usec,
1045 I830DRI2FrameEventHandler((uint32_t) msc, usec / 1000000, usec % 1000000, swap_info);
1037 intel_dri2_vblank_handler(ScrnInfoPtr scrn,xf86CrtcPtr crtc,uint64_t msc,uint64_t usec,void * data) argument

Completed in 31 milliseconds

12