Diff of /libutil/op_cpufreq.c [d173bf] .. [543be6]  Maximize  Restore

Switch to unified view

a/libutil/op_cpufreq.c b/libutil/op_cpufreq.c
...
...
108
108
109
    if (line)
109
    if (line)
110
        free(line);
110
        free(line);
111
    op_close_file(fp);
111
    op_close_file(fp);
112
112
113
        /* Return the frequency in MHz.  When the frequency is
114
         * printed it is assumed to be in units of MHz.
115
   */
113
    return fval;
116
    return fval/1000;
114
}
117
}
115
118
116
119
117
double op_cpu_frequency(void)
120
double op_cpu_frequency(void)
118
{
121
{

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks