download macosxsystem.h
Language: C++
License: LGPL
Copyright: Copyright 2006 John Poole.
LOC: 27
Project Info
geekinfo - Cross-platform system information tool(geekinfo)
Server: Google
Type: svn
Google\g\geekinfo\trunk\
   basesystem.cpp
   basesystem.h
   cpucount.cpp
   cpucount.h
   cpucount_asm.asm
   cpucount_asm.h
   geekinfo.cpp
   geekinfo.h
   geekinfo_c.cpp
   geekinfo_c.h
   geekinfo_c_test.c
   linuxsystem.cpp
   linuxsystem.h
   macosxsystem.cpp
   macosxsystem.h
   Makefile.win32
   Makefile_c.win32
   model.cpp
   model.h
   model.py
   platform.h
   solarissystem.cpp
   solarissystem.h
   system.cpp
   system.h
   types.h
   win32system.cpp
   win32system.h
   wmi.cpp
   wmi.h

/*
	macosxsystem.h

    Copyright 2006 John Poole.

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/

#ifndef INC_MACOSXSYSTEM_H
#define INC_MACOSXSYSTEM_H

#include "basesystem.h"

class MacOSXSystem : public BaseSystem {
public:
	MacOSXSystem();
	virtual ~MacOSXSystem();
	
	virtual std::string os();
    virtual std::string model();
    virtual std::string motherboard();
    virtual std::string cpu(); 
    virtual std::string cpuid();
    virtual uint64      cpuLogicalCount();
    virtual uint64      cpuPhysicalCount();
    virtual uint64      cpuFrequency();

	virtual uint64		cpuL1ICache(); 
	virtual uint64		cpuL1DCache(); 
	virtual uint64		cpuL2Cache(); 
	virtual uint64		cpuL3Cache(); 

    virtual uint64      busFrequency();
    virtual uint64      memorySize();
	virtual std::string	memoryType();
	virtual uint64      freeMemory();
	
    virtual std::string display();
	
    virtual uint64		simd();
};

#endif

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us