summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/benchmarkinfo.cpp
Unidiff
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);
53 53
54using namespace Opie::Ui;
55using namespace Opie::Core;
54extern "C" 56extern "C"
57
55{ 58{
@@ -177,3 +180,3 @@ void BenchmarkInfo::machineActivated( int index )
177 test_alu->setText( 2, *(it++) ); 180 test_alu->setText( 2, *(it++) );
178 test_fpu->setText( 2, *(it++) ); 181 test_fpu->setText( 2, *(it++) );
179 test_txt->setText( 2, *(it++) ); 182 test_txt->setText( 2, *(it++) );
@@ -182,3 +185,3 @@ void BenchmarkInfo::machineActivated( int index )
182 test_sd->setText( 2, *(it++) ); 185 test_sd->setText( 2, *(it++) );
183 test_cf->setText( 2, *(it++) ); 186 test_cf->setText( 2, *(it++) );
184} 187}
@@ -261,3 +264,3 @@ int BenchmarkInfo::textRendering( int seconds )
261 int loops = 0; 264 int loops = 0;
262 265
263 while ( t.elapsed() < stop ) 266 while ( t.elapsed() < stop )
@@ -271,3 +274,3 @@ int BenchmarkInfo::textRendering( int seconds )
271 } 274 }
272 275
273 return loops * text.length(); 276 return loops * text.length();
@@ -292,3 +295,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
292 int loops = 0; 295 int loops = 0;
293 296
294 while ( t.elapsed() < stop ) 297 while ( t.elapsed() < stop )
@@ -303,3 +306,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
303 stop = t.elapsed() + seconds*1000; 306 stop = t.elapsed() + seconds*1000;
304 307
305 while ( t.elapsed() < stop ) 308 while ( t.elapsed() < stop )
@@ -316,3 +319,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
316 stop = t.elapsed() + seconds*1000; 319 stop = t.elapsed() + seconds*1000;
317 320
318 while ( t.elapsed() < stop ) 321 while ( t.elapsed() < stop )
@@ -328,3 +331,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
328 stop = t.elapsed() + seconds*1000; 331 stop = t.elapsed() + seconds*1000;
329 332
330 while ( t.elapsed() < stop ) 333 while ( t.elapsed() < stop )
@@ -336,3 +339,3 @@ int BenchmarkInfo::gfxRendering( int seconds )
336 return loops; 339 return loops;
337 340
338} 341}