~ubuntu-branches/ubuntu/precise/hardinfo/precise

« back to all changes in this revision

Viewing changes to arch/linux/armv4l/processor.h

  • Committer: Bazaar Package Importer
  • Author(s): Agney Lopes Roth Ferraz
  • Date: 2009-03-28 22:55:02 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090328225502-p4bnvi8q6hr95cij
Tags: 0.5c-1
New upstream version. 
(Closes: #517591, #511237, #457703, #519256, #449250, #457820, #497758) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *    HardInfo - Displays System Information
3
 
 *    Copyright (C) 2003-2006 Leandro A. F. Pereira <leandro@linuxmag.com.br>
 
3
 *    Copyright (C) 2003-2006 Leandro A. F. Pereira <leandro@hardinfo.org>
4
4
 *
5
5
 *    This program is free software; you can redistribute it and/or modify
6
6
 *    it under the terms of the GNU General Public License as published by
19
19
struct _Processor {
20
20
    gchar *model_name;
21
21
    gchar *flags;
22
 
    gfloat bogomips;
 
22
    gfloat bogomips, cpu_mhz;
23
23
 
24
24
    gchar *has_fpu;
25
25
};
53
53
        g_strfreev(tmp);
54
54
    }
55
55
 
 
56
    processor->cpu_mhz = 0.0f;
 
57
 
56
58
    fclose(cpuinfo);
57
59
 
58
60
    return g_slist_append(NULL, processor);