Lines Matching full:progress
1 //===-- Progress.cpp ------------------------------------------------------===//
9 #include "lldb/Core/Progress.h"
21 std::atomic<uint64_t> Progress::g_id(0);
23 Progress::Progress(std::string title, std::string details,
27 m_total(Progress::kNonDeterministicTotal),
44 Progress::~Progress() {
45 // Make sure to always report progress completed when this object is
46 // destructed so it indicates the progress dialog/activity should go away.
57 void Progress::Increment(uint64_t amount,
73 void Progress::ReportProgress() {
75 // Make sure we only send one notification that indicates the progress is
111 void ProgressManager::Increment(const Progress::ProgressData &progress_data) {
119 // This is a new progress event. Report progress and store the progress
130 // this as an entirely new progress event.
141 void ProgressManager::Decrement(const Progress::ProgressData &progress_data) {
159 // Start a timer. If it expires before we see another progress event, it
166 const Progress::ProgressData &progress_data, EventType type) {
167 // The category bit only keeps track of when progress report categories have
171 (type == EventType::Begin) ? 0 : Progress::kNonDeterministicTotal;
173 completed, Progress::kNonDeterministicTotal,