summaryrefslogtreecommitdiff
path: root/usr.bin/top
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2013-01-14 21:18:48 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2013-01-14 21:18:48 +0000
commitf0178e58b56f0f2bcbbaa3ecd0715902fe2b8b8b (patch)
tree03ee409b4af575adf7440ca36934b3a283a2947b /usr.bin/top
parentb5f4d8317383c4b5408a9c6bffcf5a50c557122f (diff)
Loongson: Replace the system clock provided by the CPU with a GLX MFGPT.
CPU throttling was not possible due to the fact that the system clock was the CPU clock. So slowing down the CPU would also slow down the passing of time. This commit adds a driver for the MFGPT1 clock from the AMD companion chip found on lemote and hooks it up as the system clock. It also changes the frequency value of hz from the default, which was 100, to 128. That's because the scaling on MFGPT clocks is represented by powers of two. Okay miod@.
Diffstat (limited to 'usr.bin/top')
0 files changed, 0 insertions, 0 deletions