HomeSort by: relevance | last modified time | path
    Searched defs:time (Results 1 - 25 of 100) sorted by relevancy

1 2 3 4

  /src/lib/libc/gen/
time.c 1 /* $NetBSD: time.c,v 1.12 2012/03/13 21:13:37 christos Exp $ */
35 static char sccsid[] = "@(#)time.c 8.1 (Berkeley) 6/4/93";
37 __RCSID("$NetBSD: time.c,v 1.12 2012/03/13 21:13:37 christos Exp $");
43 #include <sys/time.h>
45 #include <time.h>
48 time(time_t *t) function in typeref:typename:time_t
  /src/sys/arch/evbmips/stand/sbmips/netboot/
getsecs.c 50 long long time; local in function:getsecs
52 time = cfe_getticks();
54 return (time / 10);
  /src/sys/arch/sbmips/stand/netboot/
getsecs.c 50 long long time; local in function:getsecs
52 time = cfe_getticks();
54 return (time / 10);
  /src/games/trek/
impulse.c 55 double dist, time; local in function:impulse
78 time = dist / 0.095;
79 percent = 100 * time / Now.time + 0.5;
81 printf("Spock: That would take %d%% of our remaining time.\n",
87 Move.time = move(0, course, time, 0.095);
88 Ship.energy -= 20 + 100 * Move.time * 0.095;
warp.c 61 ** case, there is code to handle time warps, etc.
82 double time; local in function:warp
112 /* compute the speed we will move at, and the time it will take */
114 time = dist / speed;
117 percent = 100 * time / Now.time + 0.5;
119 printf("Spock: That would take %d%% of our remaining time.\n",
129 time *= frac;
135 Move.time = move(fl, course, time, speed)
    [all...]
  /src/sys/sys/
timeb.h 44 time_t time; /* seconds since the Epoch */ member in struct:timeb
  /src/sys/arch/mvme68k/stand/sboot/
clock.c 100 * Set up the system's time, given a `reasonable' time value.
102 u_long time(void) function in typeref:typename:u_long
107 cl->cl_csr |= CLK_READ; /* enable read (stop time) */
114 cl->cl_csr &= ~CLK_READ; /* time wears on */
  /src/sys/compat/sys/
timex.h 24 #include <compat/sys/time.h>
28 * Note: The time member is in microseconds if STA_NANO is zero and
32 struct timespec50 time; /* current time (ns) (ro) */ member in struct:ntptimeval50
36 int time_state; /* time status */
40 struct timeval50 time; /* current time (ro) */ member in struct:ntptimeval30
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
nouveau_dispnv50_ovly827e.c 61 s64 time = nvif_msec(device, 2000ULL, local in function:ovly827e_ntfy_wait_begun
67 return time < 0 ? time : 0;
nouveau_dispnv50_core507d.c 55 s64 time = nvif_msec(device, 2000ULL, local in function:core507d_ntfy_wait_done
60 return time < 0 ? time : 0;
nouveau_dispnv50_corec37d.c 75 s64 time = nvif_msec(device, 2000ULL, local in function:corec37d_ntfy_wait_done
81 return time < 0 ? time : 0;
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/timer/
priv.h 16 void (*time)(struct nvkm_timer *, u64 time); member in struct:nvkm_timer_func
17 void (*alarm_init)(struct nvkm_timer *, u32 time);
nouveau_nvkm_subdev_timer_base.c 36 u64 time = nvkm_timer_read(wait->tmr); local in function:nvkm_timer_wait_test
39 wait->time0 = time;
40 wait->time1 = time;
43 if (wait->time1 == time) {
45 nvkm_fatal(subdev, "stalled at %016"PRIx64"\n", time);
49 wait->time1 = time;
171 tmr->func->time(tmr, ktime_to_ns(ktime_get()));
  /src/usr.bin/make/unit-tests/
cond-late.mk 4 # expressions that are evaluated late, at expansion time.
18 all: parse-time cond-literal
20 parse-time: .PHONY
21 @${MAKE} -f ${MAKEFILE} do-parse-time || true
26 .if make(do-parse-time)
  /src/sys/arch/ia64/stand/efi/libefi/
time.c 1 /* $NetBSD: time.c,v 1.4 2016/08/04 18:07:43 scole Exp $ */
44 /* __FBSDID("$FreeBSD: src/sys/boot/efi/libefi/time.c,v 1.4 2003/04/03 21:36:29 obrien Exp $");
49 #include <sys/time.h>
157 // EFI time is repored in local time. Adjust for any time zone offset to
181 // Get time from EFI
189 // Convert to UNIX time (ie seconds since the epoch
213 time(time_t *tloc) function in typeref:typename:time_t
226 return time(0)
    [all...]
  /src/sys/dev/wscons/
wseventvar.h 105 #include <compat/sys/time.h>
110 struct timespec50 time; member in struct:owscons_event
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/
nouveau_nvkm_core_subdev.c 121 s64 time; local in function:nvkm_subdev_fini
124 time = ktime_to_us(ktime_get());
137 time = ktime_to_us(ktime_get()) - time;
138 nvkm_trace(subdev, "%s completed in %"PRId64"us\n", action, time);
145 s64 time; local in function:nvkm_subdev_preinit
148 time = ktime_to_us(ktime_get());
158 time = ktime_to_us(ktime_get()) - time;
159 nvkm_trace(subdev, "preinit completed in %"PRId64"us\n", time);
166 s64 time; local in function:nvkm_subdev_init
173 s64 time; local in function:nvkm_subdev_init
204 s64 time; local in function:nvkm_subdev_del
    [all...]
nouveau_nvkm_core_engine.c 120 s64 time; local in function:nvkm_engine_init
128 nvkm_trace(subdev, "one-time init running...\n");
129 time = ktime_to_us(ktime_get());
132 nvkm_trace(subdev, "one-time init failed, %d\n", ret);
137 time = ktime_to_us(ktime_get()) - time;
138 nvkm_trace(subdev, "one-time init completed in %"PRId64"us\n", time);
  /src/tests/dev/clock_subr/
t_clock_subr.c 46 { .time = (ti), .clock = { .dt_year = (ye), .dt_mon = (mo), .dt_day = (da), \
50 time_t time; member in struct:clock_test
267 ATF_CHECK_EQ_MSG(clock_tests[i].time, secs, "%jd != %jd",
268 (intmax_t)clock_tests[i].time, (intmax_t)secs);
287 (intmax_t)clock_tests[i].time)
290 clock_secs_to_ymdhms(clock_tests[i].time, &ymdhms);
  /src/lib/libutil/
parsedate.y 23 #include <time.h>
136 time { param->yyHaveTime++; }
200 time: label
526 /* Time units table. */
541 /* Assorted relative-time words. */
636 { "ict", tZONE, -HOUR(7) }, /* Indo China Time (Thai) */
820 tm.tm_isdst = 0; /* hence cannot be summer time */
826 if (DSTmode == DSTon) /* if specified sumer time */
929 * as long as we use the same one to reassemble the time that we
1161 (void)time(&nowt)
    [all...]
  /src/libexec/talkd/
table.c 44 * search on a double-linked list. A time is kept with each
50 #include <sys/time.h>
71 time_t time; member in struct:table_entry
95 if ((ptr->time - current_time) > MAX_LIFE) {
132 if ((ptr->time - current_time) > MAX_LIFE) {
146 /* update the time if we 'touch' it */
147 ptr->time = current_time;
170 ptr->time = current_time;
  /src/sys/arch/ia64/stand/ia64/ski/
time.c 1 /* $NetBSD: time.c,v 1.4 2016/08/04 16:22:40 scole Exp $ */
43 /* __FBSDID("$FreeBSD: src/sys/boot/ia64/libski/time.c,v 1.4 2003/09/08 09:11:32 obrien Exp $"); */
45 //#include <time.h>
46 #include <sys/time.h>
171 time(time_t *tloc) function in typeref:typename:time_t
173 struct ssc_time time; local in function:time
175 ssc((u_int64_t) &time, 0, 0, 0, SSC_GET_RTC);
177 return *tloc = EfiTimeToUnixTime(&time);
183 return time(0);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
cl0046.h 21 __s64 time[2]; member in struct:nv04_disp_scanoutpos_v0
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
fault.h 25 u64 time; member in struct:nvkm_fault_data
  /src/usr.bin/vmstat/
drvstats.h 35 #include <sys/time.h>
49 struct timeval *time; /* Time spent in disk i/o. */ member in struct:_drive
50 struct timeval *wait; /* Time spent in queue waiting. */
51 struct timeval *busysum; /* Time busy * queue length */
52 struct timeval *waitsum; /* Time waiting * queue length */
53 struct timeval *timestamp; /* Disk sample time */
58 double cp_etime; /* Elapsed time */

Completed in 29 milliseconds

1 2 3 4