#ifndef CPSW_NOSSI_DEV_H #define CPSW_NOSSI_DEV_H #include #include #include // ugly - these shouldn't be here! #include #include #include #include using std::vector; class CNoSsiDevImpl; typedef shared_ptr NoSsiDevImpl; struct Mutex; class DynTimeout { private: static const uint64_t AVG_SHFT = 8; // time-constant for averager v(n+1) = v(n) + (x - v(n))/(1<