Networking Forums

Networking Forums > Computer Networking > Linux Networking > how to accurately measure processing time

Reply
Thread Tools Display Modes

how to accurately measure processing time

 
 
Ramy Asselin
Guest
Posts: n/a

 
      09-01-2003, 04:23 AM
Hi,

I writing a packet processor that takes one packet from 1 to n distinct
streams sequentially, and processes them one at a time. How can I
*accurately* measure the packet processing delay for each individual packet?

Each packet stream is continuous, but they are not synchronous, i.e. for
each stream, the arrival time of the first bit of each packet is different.

For example, when processing the first packet, I would like to know how
much time is spent with the actually processing of that packet....So I
don't want to include any time when the process gets swapped out etc. For
this reason, I don't want to simply get the system time before and after
the function.

I hope my question is clear, but please ask me to clarify if it isn't.

Thank you,
Ramy


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ebtables processing... shokwave Linux Networking 5 09-17-2008 12:16 PM
measure time on internet ..?? Mr. X Linux Networking 7 12-13-2007 06:28 PM
Measure the Accept Queueing Time! Benjamin Chu Linux Networking 0 01-26-2006 06:31 PM
tcp time measure Stephan Absmeier Linux Networking 2 09-29-2003 12:06 PM
measure time linda Linux Networking 1 09-19-2003 09:26 PM



1 2 3 4 5 6 7 8 9 10 11