Searched hist:"2 d697067b2021ca5369f875289415dae30340af2" (Results 1 – 2 of 2) sorted by relevance
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | support.S | 2d697067b2021ca5369f875289415dae30340af2 Mon Jan 27 20:46:43 UTC 2020 Adrien Destugues <pulkomandy@pulkomandy.tk> Further cleanup/optimization of system_time
On gcc4, we can use the __rdtsc builtin. On gcc2, provide a similar inline-able version of rdtsc, and remove the rdtsc function written in assembly, saving a call/ret on every call.
There has been some discussion about performance, but note that this is only bootloader code, it is not used when the system is up and running, therefore performance is not that critical.
|
H A D | debug.cpp | 2d697067b2021ca5369f875289415dae30340af2 Mon Jan 27 20:46:43 UTC 2020 Adrien Destugues <pulkomandy@pulkomandy.tk> Further cleanup/optimization of system_time
On gcc4, we can use the __rdtsc builtin. On gcc2, provide a similar inline-able version of rdtsc, and remove the rdtsc function written in assembly, saving a call/ret on every call.
There has been some discussion about performance, but note that this is only bootloader code, it is not used when the system is up and running, therefore performance is not that critical.
|