I/O Speed

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
xt_hydra
Posts: 12
Joined: Sun Jul 08, 2012 2:39 pm

I/O Speed

Post 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
CuteAlien
Admin
Posts: 9720
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: I/O Speed

Post 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 :-(
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Re: I/O Speed

Post by greenya »

I guess the question is:
What the time value in the next console line means?
Image
CuteAlien
Admin
Posts: 9720
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: I/O Speed

Post 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.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
xt_hydra
Posts: 12
Joined: Sun Jul 08, 2012 2:39 pm

Re: I/O Speed

Post 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
CuteAlien
Admin
Posts: 9720
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: I/O Speed

Post 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.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply