summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/benchmarkinfo.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/sysinfo/benchmarkinfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/benchmarkinfo.cpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.cpp b/noncore/settings/sysinfo/benchmarkinfo.cpp
index 3c2c15f..2a52b00 100644
--- a/noncore/settings/sysinfo/benchmarkinfo.cpp
+++ b/noncore/settings/sysinfo/benchmarkinfo.cpp
@@ -53,3 +53,6 @@ extern double round(double);
+using namespace Opie::Ui;
+using namespace Opie::Core;
extern "C"
+
{
@@ -177,3 +180,3 @@ void BenchmarkInfo::machineActivated( int index )
test_alu->setText( 2, *(it++) );
- test_fpu->setText( 2, *(it++) );
+ test_fpu->setText( 2, *(it++) );
test_txt->setText( 2, *(it++) );
@@ -182,3 +185,3 @@ void BenchmarkInfo::machineActivated( int index )
test_sd->setText( 2, *(it++) );
- test_cf->setText( 2, *(it++) );
+ test_cf->setText( 2, *(it++) );
}
@@ -261,3 +264,3 @@ int BenchmarkInfo::textRendering( int seconds )
int loops = 0;
-
+
while ( t.elapsed() < stop )
@@ -271,3 +274,3 @@ int BenchmarkInfo::textRendering( int seconds )
}
-
+
return loops * text.length();
@@ -292,3 +295,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
int loops = 0;
-
+
while ( t.elapsed() < stop )
@@ -303,3 +306,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
stop = t.elapsed() + seconds*1000;
-
+
while ( t.elapsed() < stop )
@@ -316,3 +319,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
stop = t.elapsed() + seconds*1000;
-
+
while ( t.elapsed() < stop )
@@ -328,3 +331,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
stop = t.elapsed() + seconds*1000;
-
+
while ( t.elapsed() < stop )
@@ -336,3 +339,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
return loops;
-
+
}