#include "tensorstore/progress.h"
struct tensorstore::CopyProgress;

Specifies progress statistics for Copy operations.

Data members

Index total_elements;

Total number of elements to be copied.

Index read_elements;

Number of elements that are ready for reading.

Index copied_elements;

Number of elements that have been completed.

Index committed_elements;

Number of elements that have been committed.

Friend functions

friend bool operator==(const CopyProgressaconst CopyProgressb);
friend bool operator!=(const CopyProgressaconst CopyProgressb);

Compares two progress states for equality.

friend std::ostream&
operator<<(std::ostreamosconst CopyProgressa);

Prints a debugging string representation to an std::ostream.

struct tensorstore::CopyProgressFunction;

Specifies a copy progress function for use with tensorstore::Copy.