From 557424c8b345677038e6e35aae2ada22748af904 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Fri, 27 Feb 2004 16:26:54 +0000 Subject: This patch adds a benchmark tab to SysInfo! Available tests & Implementation Status: ------------------------------------------- Integer Arithmetic: done Floating Point: done Text Rendering: done Gfx Rendering: done RAM Performance: in progress SD Performance: not yet done CF Performance: not yet done ------------------------------------------- I will complete this on weekend by adding the last tests and adding a comparison table for known systems :) Have Fun! --- (limited to 'noncore/settings/sysinfo/sysinfo.cpp') diff --git a/noncore/settings/sysinfo/sysinfo.cpp b/noncore/settings/sysinfo/sysinfo.cpp index 5f7b527..fda6352 100644 --- a/noncore/settings/sysinfo/sysinfo.cpp +++ b/noncore/settings/sysinfo/sysinfo.cpp @@ -27,6 +27,7 @@ #include "storage.h" #include "processinfo.h" #include "modulesinfo.h" +#include "benchmarkinfo.h" #include "versioninfo.h" #include "sysinfo.h" @@ -52,6 +53,7 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) QVBoxLayout *lay = new QVBoxLayout( this ); OTabWidget *tab = new OTabWidget( this, "tabwidget", OTabWidget::Global ); lay->addWidget( tab ); + tab->addTab( new MemoryInfo( tab ), "sysinfo/memorytabicon", tr("Memory") ); #if defined(_OS_LINUX_) || defined(Q_OS_LINUX) tab->addTab( new FileSysInfo( tab ), "sysinfo/storagetabicon", tr("Storage") ); @@ -62,6 +64,7 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr("Process") ); tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr("Modules") ); } + tab->addTab( new BenchmarkInfo( tab ), "sysinfo/benchmarktabicon", tr( "Benchmark" ) ); tab->addTab( new VersionInfo( tab ), "sysinfo/versiontabicon", tr("Version") ); tab->setCurrentTab( tr( "Memory" ) ); -- cgit v0.9.0.2