Function report |
Source Code:kernel\time\sched_clock.c |
Create Date:2022-07-28 10:51:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sched_clock
Proto:unsigned long long notrace sched_clock(void)
Type:unsigned long long
Parameter:Nothing
| 102 | Do |
| 106 | cyc = read_sched_clock() - epoch_cyc & sched_clock_mask |
| 111 | Return res |
| Name | Describe |
|---|---|
| nmi_handle | |
| tsc_save_sched_clock_state | |
| tsc_restore_sched_clock_state | Even on processors with invariant TSC, TSC gets reset in some the* ACPI system sleep states. And in some systems BIOS seem to reinit TSC to* arbitrary value (still sync'd across cpu's) during resume from such sleep* states |
| sched_clock_cpu | |
| sched_debug_header | |
| group_init | |
| psi_avgs_work | |
| psi_poll_work | |
| psi_show | |
| trace_clock_local | race_clock_local(): the simplest and least coherent tracing clock.* Useful for tracing that does not cross to other CPUs nor* does it go through idle events. |
| __bpf_prog_enter | The logic is similar to BPF_PROG_RUN, but with explicit rcu and preempt that* are needed for trampoline. The macro is split into* call _bpf_prog_enter* call prog->bpf_func* call __bpf_prog_exit |
| __bpf_prog_exit | |
| cpu_clock | |
| local_clock |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |