class WorkIndicator

Defined at line 53 of file ../../src/zircon/bin/hwstress/cpu_stressor.h

A WorkIterator provides a way for workloads to determine how long

they should carry out work for.

Public Methods

void WorkIndicator (StopIndicator & indicator, double utilization)

Defined at line 55 of file ../../src/zircon/bin/hwstress/cpu_stressor.h

bool ShouldStop ()

Determine if we should stop, and possibly sleep to reduce CPU utilization.

Defined at line 59 of file ../../src/zircon/bin/hwstress/cpu_stressor.h