/* $Id$ */
/** @file
* VirtualBox Performance Collector, FreeBSD Specialization.
*/
/*
* Copyright (C) 2008-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#include "Performance.h"
namespace pm {
{
public:
};
{
return new CollectorFreeBSD();
}
{
return VERR_NOT_IMPLEMENTED;
}
{
int CpuMHz = 0;
/** @todo: Howto support more than one CPU? */
return VERR_NOT_SUPPORTED;
return VINF_SUCCESS;
}
{
int cbPage = 0;
int cProcessed = 0;
cProcessed++;
cbParameter = sizeof(cPagesMemFree);
cProcessed++;
cbParameter = sizeof(cPagesMemUsed);
cProcessed++;
cbParameter = sizeof(cPagesMemInactive);
cProcessed++;
cbParameter = sizeof(cPagesMemCached);
cProcessed++;
cbParameter = sizeof(cbPage);
cProcessed++;
if (cProcessed == 6)
{
}
else
return rc;
}
{
return VERR_NOT_IMPLEMENTED;
}
{
return VERR_NOT_IMPLEMENTED;
}
{
return VERR_NOT_IMPLEMENTED;
}
} /* namespace pm */