Direct access to high-precision clocks isn’t the only way to get a high-precision timer- you can just update a counter in a loop on another core. Making hardware parallelism a privileged operation is not gonna work out.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Policies around default CPU architecture | 21 | 5724 | April 14, 2019 | |
|
Slower code with "-C target-cpu=native"
|
23 | 5221 | December 3, 2022 | |
|
Goals and priorities for C++
|
51 | 5561 | July 13, 2020 | |
|
Better codegen for CPU feature detection
|
44 | 3051 | January 12, 2026 | |
| Towards a second edition of the compiler | 38 | 19042 | March 25, 2019 |