English
Forum

several Timer over longer Time - Problems?

 
- Page 1 -



Chregu
Mueller
Hi,

on my Server walk several programs, naturally with Profan program! there are at least two, The whom Timer using.

The problem is now, that to längerer Time (ca. a month) the computer very slow becomes, and the Schlaufe of 10sec. always longer lasts, momentarily already over 35sec. the happens only one compilierten Program, at interpretierten is correct The Zykluszeit. The whole computer is very gammy.

is something famous above,
- that the Timer at Ueberlauf (to 49 Meet) a problem get?
- that several Timer in different Programs together a problem get?
- can otherwise what overcrowded with the Timer?

before I sore Search, frag I first time.

greeting Chregu
 
05/07/15  
 



« this Posting watts as Solution marked. »

Well, one 32-bit-computer has the following trouble:  [...] 


The elapsed time is stored as a DWORD value. Therefore, the time wants wrap around to zero if the system is run continuously for 49.7 days.


generally is But alike wieviele Timer of different Prozessen
used go, means almost, because:


Despite the fact it's hardship reflected in any docs timer created by SetTimer() is USER object, hence it if under USER objects limitations - max 10000 USER objects by process, max 65535 objects by session (for all processes).


One täglicher Reboot with one windows-Server is vlt. often no code idea.

i'd too lane of SetTimer weg and sooner a own by getTickCount-
check umsetzen.

Sekündliches do Perhaps simply by:
usermessages 16
var zeit&=&getTickCount+1000

while 1

    waitinput 50//20 time per second nachschauen ought to wealthy, ggf. quiet raise
    case %umessage = 16 : break

    if zeit&<&getTickCount// second is circa

        add zeit&,1000
        do()

    endif

wend

end

proc do

    print "Tun"

endproc


whether one WaitInput 50 in this special drop rather in sleep 50 swaps ought to Roland
know. I wealth the WaitInput 50 but the right electoral is.
 
05/07/15  
 




Chregu
Mueller
Uff iF, this is Yes then Timer/Polling mix-fashion )
I kann's Yes time try, and each month Reboot... )

greeting Chregu
 
05/07/15  
 



I mean its only Polling not Timer, there Roland with WaitInput
something like How  [...]  uses and the against without Timer auskommt.
 
05/07/15  
 




Chregu
Mueller
In which Profan-Version gibt's because WaitInput with argument? Nutze momentarily 11.2 Free and 9 as Compiler.
 
05/07/15  
 



WaitInput with Parameter faith ex XProfan 11.
 
05/07/15  
 




Wilfried
Friebe
Hi

standing but in none Helpfile To XProfan X2
which I have.
(have once more nachgeschaut.)

Greeting Wilfried
 
XProfan X2
Board MSI B450M BAZOOKA CPU AMD Ryzen 7 2700x 8 Core 3,7-4,2 GH 32 Gb Ram NVIDIA GeForce GTX 3060 12 GB Ram Window 11 Prof 64 Bit

Sun-Guru-Barebone CPU I7-9750H 16 GB Ram NVIDIA GeForce GTX1660TI 6 GB Ram Window 11 Hom 64 Bit

Profan 4.5 bis Xprofan 14
Ein frisch geschriebenes Programm hat meistens einen großen Fehler.Sollte man versuchen diesen großen Fehler zu beseitigen, hat man viele kleine Fehler "Grins"
05/08/15  
 




RGH
the feature I had experimentell installed. in the principle becomes thereby one zweiter Timer using. there it though bislang so no Problems given, ought to I it in the Help X3 allude.

[OFFTOPIC](OK, first must I time my developer-PC again in ambulation settle, which Festplatte the day before yesterday ihren spirit aufgab. Glücklicherweise could I tappt im dunkeln on the others PC with something shake and Schubsen on the USB-Port with SATA-Adapter again running bring and a News Image create. Can a Festplatte, its data yet OK are and where evident only the motor and/or The electronics zickt, repair?)[/OFFTOPIC]


Greeting
Roland
 
XProfan X2
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
05/08/15  
 



[OFFTOPIC]Yes, is more often time made but only under Schutzgas, because without
Schutzgas come into being through breeze(Feuchte) and Partikel within
minutes Oberflächenschäden on whom Datenträgerscheiben and the data
zerfallen. too Magnetismus game a strain, and so not so meaningfully is,
on such Scheiben with magnetischem Kreuzdreher herumzuwursteln or
quite with ungeeignetem Schuhwerk on The thing heranzutreten.[/OFFTOPIC]
 
05/08/15  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.083 Views

Untitledvor 0 min.
Tango07/21/17
Julian Schmidt02/24/16
RudiB.08/11/15
Magda06/19/15
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie