Function report |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-28 07:46:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pit_expect_msb
Proto:static inline int pit_expect_msb(unsigned char val, u64 *tscp, unsigned long *deltap)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned char | val | |
| u64 * | tscp | |
| unsigned long * | deltap |
| 495 | If Not This reads the current MSB of the PIT counter, and* checks if we are running on sufficiently fast and* non-virtualized hardware Then Break |
| 498 | tsc = get_cycles() |
| 500 | deltap = get_cycles() - prev_tsc |
| 507 | Return count > 5 |
| Name | Describe |
|---|---|
| quick_pit_calibrate |
| 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 |