Posted By:
Panos_Koup
Posted On:
Wednesday, October 3, 2001 09:00 AM
hi, i use threads in order to send http requests.That is that each thread sends a number of requests, gets the responses and measures some things bytes,pages etc Each thread also counts the round trip time: lala1= new Date(); //Sth like: response=connect.Get("www.contra.gr") //***A*** lala2 = new Date(); rrt=lala2.getTime()-lala1.getTime(); The problem is that when i use many threads that send many requests the rrt i get is just not right,because some times a thread stops in the **A** point in order for some other thread to continue and so on...... Any idea pls thanx
More>>
hi,
i use threads in order to send http requests.That is that each thread sends
a number of requests, gets the responses
and measures some things bytes,pages etc
Each thread also counts the round trip time:
lala1= new Date();
//Sth like:
response=connect.Get("www.contra.gr")
//***A***
lala2 = new Date();
rrt=lala2.getTime()-lala1.getTime();
The problem is that when i use many threads that send many requests the
rrt i get is just not right,because
some times a thread stops in the **A**
point in order for some other thread to continue and so on......
Any idea pls
thanx
<<Less