- Timestamp:
- Jan 18, 2009 12:25:10 AM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 1 added
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r16005 r16016 1515 1515 #elif defined(RT_OS_LINUX) 1516 1516 /// @todo aleksey: is there anything to be done here? 1517 #elif defined(RT_OS_FREEBSD) 1518 /** @todo FreeBSD: Check out this later (HIF networking). */ 1517 1519 #else 1518 1520 # error "Port me" -
trunk/src/VBox/Main/Makefile.kmk
r15708 r16016 329 329 Performance.cpp 330 330 VBoxSVC_SOURCES.darwin += darwin/PerformanceDarwin.cpp 331 VBoxSVC_SOURCES.freebsd += freebsd/PerformanceFreeBSD.cpp 331 332 VBoxSVC_SOURCES.linux += linux/PerformanceLinux.cpp 332 333 VBoxSVC_SOURCES.os2 += os2/PerformanceOs2.cpp -
trunk/src/VBox/Main/freebsd/PerformanceFreeBSD.cpp
r16004 r16016 1 1 /* $Id$ */ 2 3 2 /** @file 4 * 5 * VBox OS/2-specific Performance Classes implementation. 3 * VirtualBox Performance Collector, FreeBSD Specialization. 6 4 */ 7 5 8 6 /* 9 * Copyright (C) 2008 Sun Microsystems, Inc.7 * Copyright (C) 2008-2009 Sun Microsystems, Inc. 10 8 * 11 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 26 24 namespace pm { 27 25 28 class Collector OS2: public CollectorHAL26 class CollectorFreeBSD : public CollectorHAL 29 27 { 30 28 public: … … 39 37 CollectorHAL *createHAL() 40 38 { 41 return new Collector OS2();39 return new CollectorFreeBSD(); 42 40 } 43 41 44 int Collector OS2::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle)42 int CollectorFreeBSD::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle) 45 43 { 46 44 return E_NOTIMPL; 47 45 } 48 46 49 int Collector OS2::getHostCpuMHz(ULONG *mhz)47 int CollectorFreeBSD::getHostCpuMHz(ULONG *mhz) 50 48 { 51 49 return E_NOTIMPL; 52 50 } 53 51 54 int Collector OS2::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available)52 int CollectorFreeBSD::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available) 55 53 { 56 54 return E_NOTIMPL; 57 55 } 58 56 59 int Collector OS2::getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel)57 int CollectorFreeBSD::getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel) 60 58 { 61 59 return E_NOTIMPL; 62 60 } 63 61 64 int Collector OS2::getProcessMemoryUsage(RTPROCESS process, ULONG *used)62 int CollectorFreeBSD::getProcessMemoryUsage(RTPROCESS process, ULONG *used) 65 63 { 66 64 return E_NOTIMPL; 67 65 } 68 66 69 } 67 } /* namespace pm */ 68
Note:
See TracChangeset
for help on using the changeset viewer.