| /xnu-11215/bsd/sys/ |
| H A D | kdebug_private.h | 261 uint64_t timestamp; member 291 kp->timestamp = thetime; in kdbg_set_timestamp() 296 return kp->timestamp; in kdbg_get_timestamp() 311 kp->timestamp = (kp->timestamp & KDBG_TIMESTAMP_MASK) | in kdbg_set_cpu() 317 return (int) (((kp)->timestamp & KDBG_CPU_MASK) >> KDBG_CPU_SHIFT); in kdbg_get_cpu() 322 kp->timestamp = thetime & KDBG_TIMESTAMP_MASK; in kdbg_set_timestamp() 327 return kp->timestamp & KDBG_TIMESTAMP_MASK; in kdbg_get_timestamp() 332 kp->timestamp = (thetime & KDBG_TIMESTAMP_MASK) | in kdbg_set_timestamp_and_cpu()
|
| /xnu-11215/osfmk/x86_64/ |
| H A D | machine_remote_time.c | 35 void mach_bridge_send_timestamp(uint64_t timestamp); 70 mach_bridge_send_timestamp(uint64_t timestamp) in mach_bridge_send_timestamp() argument 83 bridge_regwrite_timestamp_callback(timestamp); in mach_bridge_send_timestamp()
|
| /xnu-11215/tests/ |
| H A D | Makefile | 309 $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@ 338 $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@ 363 $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@ 378 $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@ 404 $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@ 432 $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@ 628 echo $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@; \ 744 echo $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@; \ 756 echo $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@; \ 765 echo $(CODESIGN) --force --sign - --timestamp=none $(SYMROOT)/$@; \ [all …]
|
| H A D | kqworkloop_limits.c | 244 __unused mach_timespec_t timestamp, in receive_cpu_usage_violation() argument 259 __unused mach_timespec_t timestamp, in receive_cpu_wakes_violation() argument 274 __unused mach_timespec_t timestamp, in receive_disk_writes_violation() argument 288 __unused mach_timespec_t timestamp, in receive_port_space_violation() argument 301 __unused mach_timespec_t timestamp, in receive_file_descriptors_violation() argument 314 __unused mach_timespec_t timestamp, in receive_kqworkloops_violation() argument
|
| H A D | fd_table_limits.c | 288 __unused mach_timespec_t timestamp, in receive_cpu_usage_violation() argument 303 __unused mach_timespec_t timestamp, in receive_cpu_wakes_violation() argument 318 __unused mach_timespec_t timestamp, in receive_disk_writes_violation() argument 332 __unused mach_timespec_t timestamp, in receive_port_space_violation() argument 345 __unused mach_timespec_t timestamp, in receive_file_descriptors_violation() argument
|
| H A D | port_table_limits.c | 290 __unused mach_timespec_t timestamp, in receive_cpu_usage_violation() argument 306 __unused mach_timespec_t timestamp, in receive_cpu_wakes_violation() argument 322 __unused mach_timespec_t timestamp, in receive_disk_writes_violation() argument 336 __unused mach_timespec_t timestamp, in receive_port_space_violation() argument 354 __unused mach_timespec_t timestamp, in receive_file_descriptors_violation() argument
|
| H A D | perf_exit.c | 126 begin_ts[e->pid] = e->timestamp; 136 T_QUIET; T_ASSERT_LE(begin_ts[e->pid], e->timestamp, "timestamps are monotonically increasing"); 137 dt_stat_mach_time_add(s, e->timestamp - begin_ts[e->pid]);
|
| /xnu-11215/libkern/os/ |
| H A D | system_event_log.c | 61 const uint64_t timestamp = mach_continuous_time(); in _record_system_event_internal() local 62 absolutetime_to_nanoseconds(timestamp, &nanosecs); in _record_system_event_internal() 64 …printf("[System Event] [%llu] [%s] [Subsystem: %s] [Event: %.*s] %s\n", timestamp, type_string, su… in _record_system_event_internal()
|
| /xnu-11215/osfmk/mach/ |
| H A D | resource_notify.defs | 67 timestamp : mach_timespec_t; /* 32b time, see 25567702 */ 87 timestamp : mach_timespec_t; 107 timestamp : mach_timespec_t; 126 timestamp : mach_timespec_t; 146 timestamp : mach_timespec_t; 167 timestamp : mach_timespec_t;
|
| H A D | dyld_kernel.h | 52 uint64_t timestamp; // mach_absolute_time of last time dyld change to image list member
|
| /xnu-11215/bsd/kern/ |
| H A D | kdebug_common.c | 487 if (kd_rec.timestamp != -1) { in kernel_debug_write() 490 kd_rec.timestamp = absolutetime_to_continuoustime(kd_rec.timestamp); in kernel_debug_write() 494 kd_rec.timestamp = continuoustime_to_absolutetime(kd_rec.timestamp); in kernel_debug_write() 497 kd_rec.timestamp &= KDBG_TIMESTAMP_MASK; in kernel_debug_write() 498 if (kd_rec.timestamp < kd_ctrl_page->kdc_oldest_time) { in kernel_debug_write() 499 if (kdbp->latest_past_event_timestamp < kd_rec.timestamp) { in kernel_debug_write() 500 kdbp->latest_past_event_timestamp = kd_rec.timestamp; in kernel_debug_write() 528 if (kd_rec.timestamp != -1) { in kernel_debug_write() 534 if (kd_rec.timestamp < kdsp_actual->kds_timestamp) { in kernel_debug_write() 535 kdsp_actual->kds_timestamp = kd_rec.timestamp; in kernel_debug_write() [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | sched_clutch.c | 822 uint64_t timestamp, in sched_clutch_root_highest_root_bucket() argument 1028 uint64_t timestamp) in sched_clutch_root_bucket_deadline_calculate() argument 1050 uint64_t timestamp, in sched_clutch_root_bucket_deadline_update() argument 1082 uint64_t timestamp) in sched_clutch_root_bucket_runnable() argument 1120 uint64_t timestamp) in sched_clutch_root_bucket_empty() argument 1572 uint64_t timestamp, in sched_clutch_bucket_hierarchy_insert() argument 1610 uint64_t timestamp, in sched_clutch_bucket_hierarchy_remove() argument 1702 uint64_t timestamp) in sched_clutch_bucket_pri_calculate() argument 1769 uint64_t timestamp, in sched_clutch_bucket_runnable() argument 1796 uint64_t timestamp, in sched_clutch_bucket_update() argument [all …]
|
| H A D | machine.h | 145 uint64_t timestamp, 152 uint64_t timestamp,
|
| /xnu-11215/tests/ktrace/ |
| H A D | kdebug_coproc_tests.c | 208 T_EXPECT_NE(tp->timestamp, arg_timestamp, in expect_convert_between_abs_cont() 211 T_EXPECT_EQ(tp->timestamp, arg_timestamp, in expect_convert_between_abs_cont() 224 T_EXPECT_EQ(tp->timestamp, arg_timestamp, in expect_convert_between_abs_cont() 231 T_EXPECT_NE(tp->timestamp, arg_timestamp, in expect_convert_between_abs_cont()
|
| H A D | kperf_tests.c | 117 timestamp_secs(ktrace_session_t s, uint64_t timestamp) in timestamp_secs() argument 178 first_timestamp = tp->timestamp; 180 last_timestamp = tp->timestamp; 216 T_LOG("%.7g: %s on %d: %llx", timestamp_secs(s, tp->timestamp), 236 T_LOG("%.7g: idle on %d: %llx", timestamp_secs(s, tp->timestamp), 274 timestamp_secs(s, tp->timestamp), tp->cpuid, nextra, nidles); 368 ktrace_convert_timestamp_to_nanoseconds(s, tp->timestamp, 371 ktrace_convert_timestamp_to_nanoseconds(s, tp->timestamp, 548 uint64_t cur_ns = relns_from_abs(s, tp->timestamp); 565 uint64_t cur_ns = relns_from_abs(s, tp->timestamp); [all …]
|
| H A D | kdebug_tests.c | 498 T_EXPECT_GT(tp->timestamp, event_horizon_ts, 537 if (tp->timestamp < prev_ts) { 542 tp->timestamp, tp->debugid, tp->cpuid); 1088 T_QUIET; T_EXPECT_GE(tp->timestamp, prev_timestamp, 1091 tp->timestamp - prev_timestamp, &delta_ns); 1101 tp->timestamp, tp->cpuid, tp->debugid); 1121 prev_timestamp = tp->timestamp; 1132 start->timestamp - last_write, &delta_ns); 1137 end->timestamp - start->timestamp, &dur_ns); 1142 last_write = end->timestamp; [all …]
|
| /xnu-11215/tests/sched/sched_test_harness/ |
| H A D | sched_runqueue_harness.c | 25 set_mock_time(uint64_t timestamp) in set_mock_time() argument 27 fprintf(_log, "\tnew mock time: %llu (%lluus)\n", timestamp, in set_mock_time() 28 timestamp * _timebase_info.numer / _timebase_info.denom / NSEC_PER_USEC); in set_mock_time() 29 _curr_time = timestamp; in set_mock_time()
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOReportMacros.h | 95 __elem->timestamp = 0; \ 254 __elem->timestamp = 0; \ 303 __info->elem[(newStateIdx)].timestamp = (changeTime); \ 330 __elem->timestamp = (currentTime); \ 443 __elem->timestamp = 0; \ 621 __elem->timestamp = 0; \
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.top | 407 $(_v)$(TOUCH) $(OBJROOT)/.mach_kernel.timestamp.new 410 …ernel.timestamp.new -nt $(OBJROOT)/.mach_kernel.timestamp -a \( \! -e $(OBJROOT)/.mach_kernel.time… 412 $(TOUCH) $(OBJROOT)/.mach_kernel.timestamp.new; \ 414 $(_v)$(MV) $(OBJROOT)/.mach_kernel.timestamp.new $(OBJROOT)/.mach_kernel.timestamp 415 $(_v)$(TOUCH) $(OBJROOT)/.symbolset.timestamp.new 416 $(_v)while [ $(OBJROOT)/.symbolset.timestamp.new -ot $(OBJROOT)/.symbolset.timestamp ]; do \ 418 $(TOUCH) $(OBJROOT)/.symbolset.timestamp.new; \ 420 $(_v)$(MV) $(OBJROOT)/.symbolset.timestamp.new $(OBJROOT)/.symbolset.timestamp 622 # Tell the next build the latest timestamp of any potential file in DSTROOT/SYMROOT 624 $(_v)$(TOUCH) $(OBJROOT)/.symbolset.timestamp [all …]
|
| /xnu-11215/osfmk/kdp/ |
| H A D | kdp_dyld.h | 96 uint64_t timestamp; member 136 uint64_t timestamp; member
|
| /xnu-11215/tools/trace/ |
| H A D | wqtrace.lua | 16 initial_timestamp = buf.timestamp 18 local secs = trace.convert_timestamp_to_nanoseconds(buf.timestamp - initial_timestamp) / 1000000000 200 runthread_time_map[buf.threadid] = buf.timestamp; 203 local time = buf.timestamp - runthread_time_map[buf.threadid]
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | ktrace.py | 420 self.timestamp = int(U64_STRUCT.unpack_from(buf, offs)[0]) 446 if event.timestamp >= starting_timestamp: 509 self.cpuid, kdevent.timestamp)) 511 if kdevent.timestamp < self.last_timestamp: 520 self.last_timestamp, kdevent.timestamp, clear_line_csi)) 526 if kdevent.timestamp < self.iter_stamp_max: 530 self.last_timestamp = kdevent.timestamp
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_map_xnu.h | 462 unsigned int timestamp; /* Version number */ member 572 ((map)->timestamp = 0 , \ 584 (map)->timestamp++; \ 603 (map)->timestamp++; \ 649 ((map)->timestamp++ , \
|
| /xnu-11215/osfmk/arm/ |
| H A D | machine_routines_common.c | 125 __unused perfcontrol_event event, __unused uint32_t cpu_id, __unused uint64_t timestamp, in sched_perfcontrol_csw_default() argument 134 __unused perfcontrol_event event, __unused uint32_t cpu_id, __unused uint64_t timestamp, in sched_perfcontrol_state_update_default() argument 415 uint64_t timestamp, in machine_switch_perfcontrol_context() argument 441 sched_perfcontrol_csw(event, cpu_id, timestamp, flags, in machine_switch_perfcontrol_context() 462 uint64_t timestamp, in machine_switch_perfcontrol_state_update() argument 478 sched_perfcontrol_state_update(event, cpu_id, timestamp, flags, in machine_switch_perfcontrol_state_update() 504 uint64_t timestamp) in machine_thread_going_on_core() argument 524 on_core.start_time = timestamp; in machine_thread_going_on_core()
|
| /xnu-11215/bsd/net/pktsched/ |
| H A D | pktsched.c | 457 uint64_t **timestamp, uint32_t *flowid, uint8_t *flowsrc, uint8_t *proto, in pktsched_get_pkt_vars() argument 467 if (timestamp != NULL) { in pktsched_get_pkt_vars() 468 *timestamp = &pkth->pkt_timestamp; in pktsched_get_pkt_vars() 514 if (timestamp != NULL) { in pktsched_get_pkt_vars() 515 *timestamp = &kp->pkt_timestamp; in pktsched_get_pkt_vars()
|