Autor Beitrag
TheNeon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Mo 07.06.04 01:42 
Hi Leute,

bekannt ist ja, das ein Timer das System, wenn auch nicht viel/spürbar, belastet wenn er läuft. Ist dabei auch entscheidend in welchem Intervall er was ausführen muss oder spielt dies keine Rolle?! :nixweiss:


BYE,
TheNeon :wave:


Moderiert von user profile iconPeter Lustig: Topic aus Sonstiges verschoben am Mo 07.06.2004 um 08:56
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 07.06.04 09:23 
ich würde mal behaupten, das liegt haupsächlich daran, was der timer ausführen muss.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
TheNeon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Mo 07.06.04 10:33 
Das ist klar, aber es geht mir jetzt rein um den Timer.

Also so wie:

Verbraucht der Timer mehr Systemresourcen wenn er jede Sekunde einen Integer erhöht oder wenn er es jede Minute macht?!


BYE,
TheNeon :wave:
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Di 08.06.04 10:37 
also ich denke mal wenn er nur nen nteger erhöen soll, dann ist das relativ wurscht.
mach doch mal deinen Taskmanager auf (unter NT/2000/XP) und schau da nach, was dein proggi an prozessorlast erzeugt.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
daPimP
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54
Erhaltene Danke: 1

Win XP
D6, D7
BeitragVerfasst: Mi 09.06.04 17:36 
Komische Frage... :shock:

1. Ja es kostet mehr Rechenpower wenn der Timer alle 10 ms anstatt alle 100 ms oder 1000 ms gestartet wird. Ist ja auch logisch, weil die CPU muss ja was machen. Ein Timer ohne Inhalt (also ohne ne zu bearbeitende Funktion) ist ja sinnlos.

2. Wenn also ne fette Funktion mit fetter Berechnung im Timer steht dann beansprucht er pro Sekunde (Interval 1000):

Interval | 10 ms..........100 ms........1000 ms
--------------------------------------------------------
Rechner | 100xCPU....10xCPU........1xCPU

8) Ist doch verständlich, oder? :idea:

_________________
watch out ... SySSnapper... coming soon
TheNeon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Sa 12.06.04 12:08 
hmm :?

ist das was der Timer eigentlich von sich aus verbraucht viel oder eher kaum der Rede wert ?!



BYE,
TheNeon :wave:
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Sa 12.06.04 12:45 
TheNeon hat folgendes geschrieben:
ist das was der Timer eigentlich von sich aus verbraucht viel oder eher kaum der Rede wert ?!
Nicht der Rede wert.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
TheNeon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Sa 12.06.04 14:03 
DANKE

Bye,
TheNeon :wave: