A7V Contributor
Joined: 18 Jun 2004 Posts: 53 Location: Lisbon, Portugal
|
Posted: Mon Jun 21, 2004 5:56 pm Post subject: lastrun.log: time info on threads |
|
|
Hi,
It would be nice to know the time each thread takes to poll each device and then the time it took to poll all devices.
By 'eyemeter' I can see that my current NetMRG takes about 3 seconds to do 170 pollings on 13 devices. Since I have a lot of devices to add this information can become very handy in some verifications.
Since this information is not needed at all times, a variable in the configuration file would be enough.
Current (stripped down) logfile:
| Code: |
NetMRG starting.
[Dev: 0002] Starting device thread.
[Dev: 0003] Starting device thread.
[Dev: 0004] Starting device thread.
[Dev: 0005] Starting device thread.
[Dev: 0006] Starting device thread.
[Dev: 0005] Ending device thread.
Thread Ended.
[Dev: 0007] Starting device thread.
[Dev: 0004] Ending device thread.
Thread Ended.
[Dev: 0008] Starting device thread.
[Dev: 0002] Ending device thread.
Thread Ended.
|
Example 'I wanna' log:
| Code: |
NetMRG starting at 21-06-2004 18:50:00
[Dev: 0002] Starting device thread at 21-06-2004 18:50:00
[Dev: 0003] Starting device thread at 21-06-2004 18:50:01
[Dev: 0004] Starting device thread at 21-06-2004 18:50:02
[Dev: 0005] Starting device thread at 21-06-2004 18:50:03
[Dev: 0006] Starting device thread at 21-06-2004 18:50:05
[Dev: 0005] Ending device thread at 21-06-2004 18:50:06
Thread Ended.
[Dev: 0007] Starting device thread at 21-06-2004 18:50:07.
[Dev: 0004] Ending device thread at 21-06-2004 18:50:08
Thread Ended.
[Dev: 0008] Starting device thread at 21-06-2004 18:50:09
[Dev: 0002] Ending device thread at 21-06-2004 18:50:10
Thread Ended.
NetMRG ended at 21-06-2004 18:50:11
|
Note: this seemed the appropriate forum to post this situation. If not please move the message. |
|