Page 1 of 1

I/O Speed

Posted: Wed Sep 19, 2012 5:16 am
by xt_hydra
whats is the factor that cause the engine to print the speed from wich a terrain has been generated?
HDD or CPU or both?

if for example i caculate 900 000 / 100 * 0.032 = 256 KB
i mean my terrain wich is in binary is 256 kb

i mean technically that look like 1 of my memory stick speed

Re: I/O Speed

Posted: Wed Sep 19, 2012 8:38 am
by CuteAlien
Sorry, I just don't get your question (and I had the same problem with your last post). I guess english is not your native language probably, but we can't answer your posts if we can't even understand them :-(

Re: I/O Speed

Posted: Wed Sep 19, 2012 8:44 am
by greenya
I guess the question is:
What the time value in the next console line means?
Image

Re: I/O Speed

Posted: Wed Sep 19, 2012 10:14 am
by CuteAlien
Ah, ok - starts making sense. And don't know - my naive guess would be hdd, but can't tell without measure that in more detail.
You could change CTerrainSceneNode::loadHeightMap and add a few more measurings and recompile the engine, it's in CTerraiSceneNode.cpp and probably rather easy to code.

Re: I/O Speed

Posted: Thu Sep 20, 2012 6:10 am
by xt_hydra
according to the timer, the next function is : video::IImage* heightMap = SceneManager->getVideoDriver()->createImageFromFile(file);

wich look like an HDD dependent file loading function

thank you

Re: I/O Speed

Posted: Thu Sep 20, 2012 8:27 am
by CuteAlien
Yes, that's where it's started which is why I would also guess on HDD. But there are some calculations following before it's stopped. So could also be any of them. Just can't tell without adding more timing code there.