os: add Reporter::clear method
This commit is contained in:
parent
2d8a4917a5
commit
cc74204801
|
@ -82,6 +82,11 @@ class Genode::Reporter : Noncopyable
|
||||||
|
|
||||||
Name name() const { return _name; }
|
Name name() const { return _name; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clear report buffer
|
||||||
|
*/
|
||||||
|
void clear() { memset(_base(), 0, _size()); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Report data buffer
|
* Report data buffer
|
||||||
*
|
*
|
||||||
|
@ -117,5 +122,4 @@ class Genode::Reporter : Noncopyable
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif /* _INCLUDE__OS__REPORTER_H_ */
|
#endif /* _INCLUDE__OS__REPORTER_H_ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user