From 06159fd72fe0a456101f2fd65aa865ae81ae43e8 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 28 Oct 2015 15:33:25 +0200 Subject: [PATCH] Convert CPU frequency from MHz to GHz --- extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension.js b/extension.js index 84a4c2c..8226a83 100644 --- a/extension.js +++ b/extension.js @@ -442,7 +442,7 @@ const CPUFreqIndicator = new Lang.Class({ _getCurFreq: function() { - return this.cpufreq.toString() + 'MHz'; + return (this.cpufreq.toString() / 1000).toFixed(2) + 'GHz'; }, destroy: function()