Function report |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-28 07:46:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cyc2ns_read_begin
Proto:__always_inline void cyc2ns_read_begin(struct cyc2ns_data *data)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cyc2ns_data * | data |
68 | Do |
69 | seq = Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(sequence) |
72 | cyc2ns_offset = Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(cyc2ns_offset) |
Name | Describe |
---|---|
cycles_2_ns | Accelerators for sched_clock()* convert from cycles(64bits) => nanoseconds (64bits)* basic equation:* ns = cycles / (freq / ns_per_sec)* ns = cycles * (ns_per_sec / freq)* ns = cycles * (10^9 / (cpu_khz * 10^3))* ns = cycles * (10^6 / cpu_khz) |
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 |