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

Specifies progress statistics for Write operations.

Data members

Index total_elements;

Total number of elements to be written.

Index copied_elements;

Number of elements that have been copied.

Index committed_elements;

Number of elements that have been committed.

Friend functions

friend bool
operator==(const WriteProgress& a, const WriteProgress& b);
friend bool
operator!=(const WriteProgress& a, const WriteProgress& b);

Compares two progress states for equality.

friend std::ostream&
operator<<(std::ostream& os, const WriteProgress& a);
friend void AbslStringify(Sink& sink, const WriteProgress& a);

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

struct tensorstore::WriteProgressFunction;

Specifies a write progress function for use with tensorstore::Write.