diff options
Diffstat (limited to 'kern/tru64/tru64_events.hh')
-rw-r--r-- | kern/tru64/tru64_events.hh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kern/tru64/tru64_events.hh b/kern/tru64/tru64_events.hh index d41f82f5b..a8f0eb865 100644 --- a/kern/tru64/tru64_events.hh +++ b/kern/tru64/tru64_events.hh @@ -35,6 +35,10 @@ class ExecContext; +#ifdef FS_MEASURE +class System; +#endif + class SkipFuncEvent : public PCEvent { public: @@ -78,4 +82,17 @@ class DumpMbufEvent : public PCEvent virtual void process(ExecContext *xc); }; +#ifdef FS_MEASURE +class FnEvent : public PCEvent +{ + public: + FnEvent(PCEventQueue *q, const std::string &desc, System *system); + virtual void process(ExecContext *xc); + std::string myname() const { return _name; } + + private: + std::string _name; + Statistics::GenBin *myBin; +}; +#endif //FS_MEASURE #endif // __TRU64_EVENTS_HH__ |