Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, Ayumi), 773 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
varying frame rate #277043
07/07/09 13:21
07/07/09 13:21
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline OP
Serious User
Nowherebrain  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
I was wondering why I get massive frame rate fluctuations at regular intervals...I'm almost sure it is due to a dual core setup, but I am not sure.....
it varies from around 200-75(windowed obviously)and it is very steady, as far as, rising and falling.
I'm running an Athlon 64X2 dual core 4200+(kinda old now that I look at it)....

setting time smooth like in the examples helps...(3 frames)
0.666

Last edited by Nowherebrain; 07/07/09 13:23.

Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: varying frame rate [Re: Nowherebrain] #277286
07/08/09 17:00
07/08/09 17:00
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Regular rising and falling could mean that it's some background task on your PC. With which frequency does it occur?

Re: varying frame rate [Re: jcl] #278691
07/15/09 08:01
07/15/09 08:01
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline OP
Serious User
Nowherebrain  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
it's a 1 second cycle up and down within a second, like clockwork.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: varying frame rate [Re: Nowherebrain] #278694
07/15/09 08:50
07/15/09 08:50
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Sounds like the thing is either doing a full-scale virus-check of all drives,
a background de-frag(?) or maybe a virus infection.

Needs serious investingation urgently, to play on the safe side.
Try looking in the task-manager/processes list and see if you can see
a process either starting/stopping with the same time-cycle,
or one whose cpu-usage (CPU column) is jumping up and down to the same beat.
Note:: the process starting/stopping or cpu-usage may not exactly match the
HDD activity, but it will be the same timing pattern...

Best of luck.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: varying frame rate [Re: EvilSOB] #278740
07/15/09 12:37
07/15/09 12:37
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
if i use a simple code
Code:
//press F11 to run
#include <acknex.h>
#include <default.c>

var def_dfps;
var def_dfps_lo;
var def_dfps_hi;
	var var_dfps_lo, var_dfps_hi;


PANEL* pnl_fps = {
//	digits(10, 150, "time_frame %5.2f", *, 16, time_frame);
//	digits(10, 160, "fps        %5.0f", *, 16, def_dfps);
	digits(10, 170, "fps lo     %5.0f", *, 16, def_dfps_lo);
	digits(10, 180, "fps hi     %5.0f", *, 16, def_dfps_hi);
	flags = SHOW;
}

void hi_lo(){
	
	int i;
	while(1){
		var_dfps_lo = minv(var_dfps_lo, def_dfps);
		var_dfps_hi = maxv(var_dfps_hi, def_dfps);
		wait(1);
	}
}

void main(){
	hi_lo();
	while(1){
		def_dfps_lo = var_dfps_lo;
		def_dfps_hi = var_dfps_hi;
		var_dfps_lo = 1000;
		var_dfps_hi = 0;
		wait(-1);
	}
}

for determining peak and lo of fps rate per second

i get from 350 - 500, though no additional programs are running, but not necessarily at regular intervals

sys: Intel CPU 2140 @ 1.60Ghz, 4GB RAM, Window Vista SP1, NVIDIA GeForce 7300LE

Hope this helps

Re: varying frame rate [Re: MrGuest] #278754
07/15/09 13:02
07/15/09 13:02
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline
Serious User
VeT  Offline
Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
Its very important, that function may be called hi_lo(), but not lo_hi() grin
I think, only russian could understand this smile


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: varying frame rate [Re: VeT] #278861
07/15/09 21:37
07/15/09 21:37
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline OP
Serious User
Nowherebrain  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
lol,....
I checked all that and my sys is a fairly new install, nothing in the background..like jrs or defrag..\I am running an AMD athlon 64x2, nvidia 8400 gs(good sale) 2Gb ram.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1