[Click] Reading system statistics in Click
Nikitas Liogkas
nikitas at CS.UCLA.EDU
Sat Apr 9 12:40:49 EDT 2005
Yeah, basically you interpose SetCycleCount and CycleCountAccum
elements in appropriate places in a configuration. For example,
PollDevice(eth0) -> SetCycleCount -> Queue -> Accum :: CycleCountAccum
-> Discard; will count how many cycles packets spent sitting in the
queue, and you can see that under /proc/click/Accum/cycles. You can
then convert cycles to time, given the CPU frequency.
nikitas
Beyers Cronje wrote:
> Hi Arindam,
>
> Have a look at
> http://www.pdos.lcs.mit.edu/click/doc/PerfCountAccum.n.html
> http://www.pdos.lcs.mit.edu/click/doc/PerfCountInfo.n.html
> http://www.pdos.lcs.mit.edu/click/doc/CycleCountAccum.n.html
>
> Regards
>
> Beyers
>
>
>
> On Apr 8, 2005 8:31 PM, Arindam Mallik <arin.mallik at gmail.com> wrote:
>
>>Hi,
>>
>>I am trying to get information about the processing of packets within
>>the router. For example, I want to have an idea how much time is taken
>>by each packet within different elements of the router. I am a new
>>user of Click and I am not sure how to use the handlers to get
>>information about these.
>>
>>Can anyone throw some highlights about the approach to be taken for
>>this problem ?
>>
>>Thanks in advance,
>>Arindam
>>_______________________________________________
>>click mailing list
>>click at amsterdam.lcs.mit.edu
>>https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list