1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
/* win32system.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_WIN32SYSTEM_H #define INC_WIN32SYSTEM_H #include "basesystem.h" #include "types.h" class Win32System : public BaseSystem { public: Win32System(); virtual ~Win32System(); 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
©2010 Koders is a trademark of Black Duck Software, Inc. Black Duck, Know Your Code and the Black Duck logo are registered trademarks of Black Duck Software, Inc. in the United States and other jurisdictions. All other trademarks are the property of their respective holders.