mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 15:43:56 +00:00
os: add Reporter::clear method
This commit is contained in:
committed by
Christian Helmuth
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_ */
|
||||||
|
Reference in New Issue
Block a user