PerformanceSolaris.cpp revision 4ffdae046e05f397b6552d5489685f5802bbd249
2N/A * available from http://www.virtualbox.org. This file is free software;
2N/A * Clara, CA 95054 USA or visit http://www.sun.com if you need
2N/A#include "Performance.h"
2N/A virtual ~CollectorSolaris();
2N/A virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total);
2N/A return new CollectorSolaris();
2N/A return VERR_INTERNAL_ERROR;
2N/A return VERR_INTERNAL_ERROR;
2N/A return VERR_INTERNAL_ERROR;
2N/Aint CollectorSolaris::getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total)
//Log(("user=%u kernel=%u total=%u\n", prusage.pr_utime.tv_sec, prusage.pr_stime.tv_sec, prusage.pr_tstamp.tv_sec));
close(h);
return rc;
return VERR_INTERNAL_ERROR;
return VERR_INTERNAL_ERROR;
return VERR_INTERNAL_ERROR;
return VERR_INTERNAL_ERROR;
return rc;
char *pszName;
close(h);
return rc;