class Thrasher
Defined at line 45 of file ../../src/performance/memory/thrasher/lib.h
Abstract base class for all thrashers.
Public Methods
void Initialize (fit::function<void (zx_status_t)> on_initialized)
Starts asynchronous initialization. Calls |on_initialized| when ready to start.
|on_initialized| will be called with ZX_OK on success, or an error status on failure.
void Start (std::shared_ptr<ThrashCallback> callback, std::shared_ptr<StatusCallback> status_callback)
Starts the actual thrashing workload. Must be called after successful Initialize().
void ~Thrasher ()
Defined at line 47 of file ../../src/performance/memory/thrasher/lib.h