mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
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; }
|
||||
|
||||
/**
|
||||
* Clear report buffer
|
||||
*/
|
||||
void clear() { memset(_base(), 0, _size()); }
|
||||
|
||||
/**
|
||||
* Report data buffer
|
||||
*
|
||||
@ -117,5 +122,4 @@ class Genode::Reporter : Noncopyable
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
#endif /* _INCLUDE__OS__REPORTER_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user