Searched refs:clock (Results 1 - 25 of 70) sorted by relevance

123

/xnu-2422.115.4/libsyscall/mach/
H A Dclock.defs28 #include <mach/clock.defs>
/xnu-2422.115.4/osfmk/kern/
H A Dipc_clock.c34 * alarm clock facility.
44 #include <kern/clock.h>
52 * Initialize ipc control of a clock.
56 clock_t clock)
63 clock->cl_service = port;
68 clock->cl_control = port;
74 * Enable ipc access to a clock.
78 clock_t clock)
80 ipc_kobject_set(clock->cl_service,
81 (ipc_kobject_t) clock, IKOT_CLOC
55 ipc_clock_init( clock_t clock) argument
77 ipc_clock_enable( clock_t clock) argument
99 clock_t clock = CLOCK_NULL; local
126 clock_t clock = CLOCK_NULL; local
148 convert_clock_to_port( clock_t clock) argument
166 convert_clock_ctrl_to_port( clock_t clock) argument
184 clock_t clock = CLOCK_NULL; local
[all...]
H A Dclock_oldops.c35 * alarm clock services. This file and the ipc
37 * machine-independent clock service layer.
48 #include <kern/clock.h>
65 * Actual clock alarm structure. Used for user clock_sleep() and
68 * chain of the target clock.
80 struct clock *clock; /* alarm clock */ member in struct:alarm::__anon1044
86 #define al_clock al_alrm.clock
108 extern struct clock clock_lis
177 clock_t clock; local
202 clock_t clock; local
221 clock_t clock; local
247 host_get_clock_service( host_t host, clock_id_t clock_id, clock_t *clock) argument
267 host_get_clock_control( host_priv_t host_priv, clock_id_t clock_id, clock_t *clock) argument
288 clock_get_time( clock_t clock, mach_timespec_t *cur_time) argument
329 clock_get_attributes( clock_t clock, clock_flavor_t flavor, clock_attr_t attr, mach_msg_type_number_t *count) argument
399 clock_set_time( clock_t clock, __unused mach_timespec_t new_time) argument
412 clock_set_attributes( clock_t clock, __unused clock_flavor_t flavor, __unused clock_attr_t attr, __unused mach_msg_type_number_t count) argument
427 clock_alarm( clock_t clock, alarm_type_t alarm_type, mach_timespec_t alarm_time, ipc_port_t alarm_port, mach_msg_type_name_t alarm_port_type) argument
503 clock_t clock; local
533 clock_sleep_internal( clock_t clock, sleep_type_t sleep_type, mach_timespec_t *sleep_time) argument
625 clock_t clock; local
803 clock_t clock = &clock_list[SYSTEM_CLOCK]; local
814 clock_t clock = &clock_list[CALENDAR_CLOCK]; local
[all...]
H A Dipc_host.h84 /* Initialize ipc control of a clock */
86 clock_t clock);
88 /* Enable ipc access to a clock */
90 clock_t clock);
92 /* Convert from a port to a clock */
96 /* Convert from a port to a clock control */
100 /* Convert from a clock to a port */
102 clock_t clock);
104 /* Convert from a clock control to a port */
106 clock_t clock);
[all...]
H A DMakefile18 clock.h \
H A Dclock.h65 * dependent clock routines.
84 * Actual clock object data structure. Contains the machine
85 * dependent operations list and clock operation ports.
87 struct clock { struct
92 typedef struct clock clock_data_t;
95 * Configure the clock system.
101 * Initialize the clock system.
109 * Initialize the clock ipc service facility.
H A Dkern_types.h180 typedef struct clock *clock_t;
H A Dthread_call.h39 #include <kern/clock.h>
H A Dsyscall_sw.c99 #include <kern/clock.h>
H A Dsched_prim.h72 #include <kern/clock.h>
/xnu-2422.115.4/osfmk/i386/AT386/
H A Dconf.c65 #include <kern/clock.h>
69 * table contains the clock structures for all clocks in
76 * List of clock devices.
78 struct clock clock_list[] = {
/xnu-2422.115.4/osfmk/mach/
H A Dclock.defs32 * File: mach/clock.defs
33 * Purpose: Kernel clock subsystem definitions. This
34 * file defines the clock request interface.
41 clock 1000;
48 * References to clock objects are returned by:
54 * Get the clock time.
62 * Get clock attributes.
71 * Setup a clock alarm.
H A Dmach_interface.h32 #include <mach/clock.h>
H A Dmach_types.h130 typedef struct clock *clock_serv_t;
131 typedef struct clock *clock_ctrl_t;
151 struct clock ;
H A DMakefile24 clock.defs \
72 clock.h \
/xnu-2422.115.4/tools/tests/superpages/
H A Dmeasure_tlbs.c43 clock_t a = clock(); /* start timing */
100 clock_t b = clock(); /* stop timing */
/xnu-2422.115.4/iokit/IOKit/
H A DIOEventSource.h53 #include <kern/clock.h>
H A DIOTimerEventSource.h44 #include <kern/clock.h>
H A DIOLib.h58 #include <kern/clock.h>
273 @discussion This function spins to delay for at least the number of specified microseconds. Since the CPU is busy spinning no time is made available to other processes; this method of delay should be used only for short periods. Also, the AbsoluteTime based APIs of kern/clock.h provide finer grained and lower cost delays.
390 /* The API exported by kern/clock.h
/xnu-2422.115.4/iokit/Kernel/
H A DIOStartIOKit.cpp56 #include <kern/clock.h>
/xnu-2422.115.4/tools/tests/libMicro/
H A DREADME69 [-A] (align with clock)
/xnu-2422.115.4/osfmk/i386/
H A Dtsc.c44 #include <kern/clock.h>
H A Dhpet.c39 #include <kern/clock.h>
H A Di386_init.c71 #include <kern/clock.h>
H A Drtclock.c35 * real-time clock. Historically, this clock is
39 * the cpu clock counted by the timestamp MSR.
48 #include <kern/clock.h>
112 * Configure the real-time clock device. Return success (1)
127 * The timestamp counter (TSC) - which counts cpu clock cycles and can be read
129 * The cpu clock rate is platform-dependent and may stop or be reset when the
131 * used to maintain a monotonic clock, adjusted from an outside reference as needed.
285 * Initialize the real-time clock device.
286 * In addition, various variables used to support the clock ar
[all...]

Completed in 81 milliseconds

123