setcyclecount.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 38 行
HH
38 行
#ifndef SETCYCLECOUNT_HH#define SETCYCLECOUNT_HH/* * =c * SetCycleCount() * =s profiling * stores cycle count in annotation * =d * * Stores the current cycle count in an annotation in each packet. In * combination with CycleCountAccum, this lets you measure how many cycles it * takes a packet to pass from one point to another. * * =n * * A packet has room for either exactly one cycle count or exactly one * performance metric. * * =a CycleCountAccum, RoundTripCycleCount, SetPerfCount, PerfCountAccum */#include <click/element.hh>class SetCycleCount : public Element { public: SetCycleCount(); ~SetCycleCount(); const char *class_name() const { return "SetCycleCount"; } const char *processing() const { return AGNOSTIC; } void push(int, Packet *p); Packet *pull(int);};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?