1 comment:
File src/soc/amd/picasso/tsc_freq.c:
Patch Set #4, Line 38: return (100 * (cpufid + 0x10)) / (0x01 << cpudid);
If this is constant, you may want to cache the result (declare static variable for return value) as rdmsr is sometimes heavy for execution and worth skipping when possible.
To view, visit change 33765. To unsubscribe, or for help writing mail filters, visit settings.