This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

PerfCountAccum Element Documentation

NAME

PerfCountAccum -- Click element; collects differences in Pentium Pro performance metrics

SYNOPSIS

PerfCountAccum(METRIC)

Ports: 1 input, 1 output
Drivers: linuxmodule
Package: linuxmodule (core)

DESCRIPTION

Expects incoming packets to have their performance metric annotation set according to the Pentium Pro performance metric METRIC. Calculates the current value of the performance metric METRIC, and keeps track of the total accumulated difference.

NOTES

A packet has room for either exactly one cycle count or exactly one performance metric. See SetPerfCount for valid performance metric names.

ELEMENT HANDLERS

count (read-only)
Returns the number of packets that have passed.
accum (read-only)
Returns the accumulated changes in the metric TYPE for all passing packets.
reset_counts (write-only)
Resets count and accum counters to zero when written.

SEE ALSO

SetPerfCount, SetCycleCount, CycleCountAccum

Generated by 'click-elem2man' from '../elements/linuxmodule/perfcountaccum.hh:4' on 16/Jan/2012.

COMMENTS

 
elements/perfcountaccum.txt · Last modified: 2012/01/16 21:23 (external edit)
 
Recent changes RSS feed Driven by DokuWiki