/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Progress.h | 1 //===-- Progress.h ----------------------------------------------*- C++ -*-===// 23 /// A Progress indicator helper class. 26 /// progress so that clients are aware of delays that might appear during 31 /// The Progress class helps make sure that progress is correctly reported 32 /// and will always send an initial progress update, updates when 33 /// Progress::Increment() is called, and also will make sure that a progress 37 /// The progress is reported via a callback whose type is ProgressCallback: 47 /// considered the progress start event. As Progress::Increment() is called, 48 /// the callback will be called as long as the Progress::m_completed has not 49 /// yet exceeded the Progress::m_total. When the callback is called with [all …]
|
H A D | DebuggerEvents.h | 10 #include "lldb/Core/Progress.h" 43 bool IsFinite() const { return m_total != Progress::kNonDeterministicTotal; } in IsFinite() 59 /// The title of this progress event. The value is expected to remain stable 60 /// for a given progress ID. 63 /// Details associated with this progress event update. The value is expected 64 /// to change between progress events. 67 /// Unique ID used to associate progress events.
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | Progress.cpp | 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, in Progress() function in Progress 27 m_total(Progress::kNonDeterministicTotal), in Progress() 44 Progress::~Progress() { in ~Progress() 45 // Make sure to always report progress completed when this object is in ~Progress() 46 // destructed so it indicates the progress dialog/activity should go away. in ~Progress() 57 void Progress::Increment(uint64_t amount, in Increment() 73 void Progress::ReportProgress() { in ReportProgress() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/ |
H A D | zpool_trim_suspend_resume.ksh | 32 # 3. Wait 3 seconds, then suspend trimming and verify that the progress 34 # 4. Wait 3 seconds and ensure trimming progress doesn't advance. 35 # 5. Restart trimming and verify that the progress doesn't regress. 64 progress="$(trim_progress $TESTPOOL $LARGEFILE)" 67 [[ "$progress" -eq "$(trim_progress $TESTPOOL $LARGEFILE)" ]] || \ 68 log_fail "Trimming progress advanced while suspended" 71 [[ "$progress" -le "$(trim_progress $TESTPOOL $LARGEFILE)" ]] || 72 log_fail "Trimming progress regressed after resuming"
|
H A D | zpool_trim_attach_detach_add_remove.ksh | 44 progress="$(trim_progress $TESTPOOL $DISK1)" 45 [[ -z "$progress" ]] && log_fail "Trim did not start" 49 [[ "$progress" -le "$new_progress" ]] || \ 50 log_fail "Lost trimming progress on demotion to child vdev" 51 progress="$new_progress" 55 [[ "$progress" -le "$new_progress" ]] || \ 56 log_fail "Lost trimming progress on promotion to top vdev" 57 progress="$new_progress"
|
H A D | zpool_trim_rate.ksh | 62 progress=$(trim_progress $TESTPOOL $LARGEFILE) 65 log_must within_tolerance 10 $progress 5 70 progress=$(trim_progress $TESTPOOL $LARGEFILE) 73 log_must within_tolerance 20 $progress 10 78 progress=$(trim_progress $TESTPOOL $LARGEFILE) 81 log_must within_tolerance 50 $progress 15 86 progress=$(trim_progress $TESTPOOL $LARGEFILE) 88 log_must within_tolerance 100 $progress 0
|
H A D | zpool_trim_import_export.ksh | 34 # 5. Verify that trimming resumes and progress does not regress. 37 # 8. Verify that progress does not regress but trimming is still suspended. 60 progress="$(trim_progress $TESTPOOL $LARGEFILE)" 61 [[ -z "$progress" ]] && log_fail "Trimming did not start" 69 [[ "$progress" -le "$new_progress" ]] || \ 70 log_fail "Trimming lost progress after import" 84 log_fail "Trimming lost progress after import"
|
H A D | zpool_trim_offline_export_import_online.ksh | 43 progress="$(trim_progress $TESTPOOL $DISK1)" 44 [[ -z "$progress" ]] && log_fail "Trimming did not start" 52 [[ "$new_progress" -ge "$progress" ]] || \ 53 log_fail "Trimming lost progress after import" 58 [[ "$new_progress" -ge "$progress" ]] || \ 59 log_fail "Trimming lost progress after online"
|
H A D | zpool_trim_online_offline.ksh | 34 # 5. Verify that trimming resumes and progress does not regress. 49 progress="$(trim_progress $TESTPOOL $DISK1)" 50 [[ -z "$progress" ]] && log_fail "Trimming did not start" 57 [[ "$progress" -le "$new_progress" ]] || \ 58 log_fail "Trimming lost progress after onlining"
|
H A D | zpool_trim_multiple.ksh | 46 log_fail "Trimming progress wasn't reset" 55 progress="$(trim_progress $TESTPOOL $DISK1)" 57 [[ "$progress" -le "$(trim_progress $TESTPOOL $DISK1)" ]] || 58 log_fail "Trimming progress regressed"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
H A D | zpool_initialize_suspend_resume.ksh | 36 # 3. Wait 3 seconds, then suspend initializing and verify that the progress 38 # 4. Wait 5 seconds and ensure initializing progress doesn't advance. 39 # 5. Restart initializing and verify that the progress doesn't regress. 53 progress="$(initialize_progress $TESTPOOL $DISK1)" 56 [[ "$progress" -eq "$(initialize_progress $TESTPOOL $DISK1)" ]] || \ 57 log_fail "Initializing progress advanced while suspended" 60 [[ "$progress" -le "$(initialize_progress $TESTPOOL $DISK1)" ]] || 61 log_fail "Initializing progress regressed after resuming"
|
H A D | zpool_initialize_attach_detach_add_remove.ksh | 48 progress="$(initialize_progress $TESTPOOL $DISK1)" 49 [[ -z "$progress" ]] && log_fail "Initializing did not start" 53 [[ "$progress" -le "$new_progress" ]] || \ 54 log_fail "Lost initializing progress on demotion to child vdev" 55 progress="$new_progress" 59 [[ "$progress" -le "$new_progress" ]] || \ 60 log_fail "Lost initializing progress on promotion to top vdev" 61 progress="$new_progress"
|
H A D | zpool_initialize_import_export.ksh | 38 # 5. Verify that initializing resumes and progress does not regress. 41 # 8. Verify that progress does not regress but initializing is still suspended. 51 progress="$(initialize_progress $TESTPOOL $DISK1)" 52 [[ -z "$progress" ]] && log_fail "Initializing did not start" 59 [[ "$progress" -le "$new_progress" ]] || \ 60 log_fail "Initializing lost progress after import" 74 log_fail "Initializing lost progress after import"
|
H A D | zpool_initialize_offline_export_import_online.ksh | 47 progress="$(initialize_progress $TESTPOOL $DISK1)" 48 [[ -z "$progress" ]] && log_fail "Initializing did not start" 56 [[ "$new_progress" -ge "$progress" ]] || \ 57 log_fail "Initializing lost progress after import" 62 [[ "$new_progress" -ge "$progress" ]] || \ 63 log_fail "Initializing lost progress after online"
|
H A D | zpool_initialize_online_offline.ksh | 38 # 5. Verify that initializing resumes and progress does not regress. 51 progress="$(initialize_progress $TESTPOOL $DISK1)" 52 [[ -z "$progress" ]] && log_fail "Initializing did not start" 59 [[ "$progress" -le "$new_progress" ]] || \ 60 log_fail "Initializing lost progress after onlining"
|
/freebsd/lib/libdpv/ |
H A D | dpv.3 | 30 .Nd dialog progress view library 49 widgets for displaying progress on various actions. 52 library can display progress with one of 70 int pbar_size; /* Mini-progress size */ 122 argument is not called but instead simulated-data is used to drive progress. 225 represents the current progress percentage 368 argument are used for calculating the display of mini progress bars 385 member is used instead of a traditional progress bar. 386 Otherwise a progress bar is calculated as percentage read to file length. 388 callback must maintain these member values for mini-progress bars.
|
H A D | dpv.h | 104 int pbar_size; /* Mini-progress size. See dpv(3) */ 105 int dialog_updates_per_second; /* Progress updates/s. Default 16 */ 113 char *msg_done; /* Progress text. Default `Done' */ 114 char *msg_fail; /* Progress text. Default `Fail' */ 115 char *msg_pending; /* Progress text. Default `Pending' */ 141 #define DPV_DISPLAY_LIMIT 10 /* Max file progress lines */
|
/freebsd/contrib/wpa/src/utils/ |
H A D | browser.c | 24 int progress; member 48 if (ctx->progress == 100) { in browser_update_title() 55 snprintf(buf, sizeof(buf), "[%d%%] %s", ctx->progress, in browser_update_title() 95 ctx->progress = 100 * webkit_web_view_get_estimated_load_progress(view); in view_cb_notify_estimated_load_progress() 96 wpa_printf(MSG_DEBUG, "BROWSER:%s progress=%d", __func__, in view_cb_notify_estimated_load_progress() 97 ctx->progress); in view_cb_notify_estimated_load_progress() 200 ctx->progress = 100 * webkit_web_view_get_progress(view); in view_cb_notify_progress() 201 wpa_printf(MSG_DEBUG, "BROWSER:%s progress=%d", __func__, in view_cb_notify_progress() 202 ctx->progress); in view_cb_notify_progress() 330 g_signal_connect(G_OBJECT(view), "notify::estimated-load-progress", in hs20_web_browser() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_status.ksh | 38 # on the import progress. 45 # 5. Check the zfs debug messages for import progress 59 "notes on the progress" 108 # capture progress until import is finished 121 log_note "found $entries progress notes in dbgmsg" 127 "notes on the progress"
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_cmd.c | 66 "Flash download already in progress", 74 "Volume consistency check in progress", 75 "Volume initialization in progress", 79 "Volume rebuild in progress", 80 "Volume reconstruction in progress", 88 "Drive clear in progress", 105 "Volume reservation already in progress", 345 (float)prog->progress * 100 / 0xffff); in mfi_display_progress() 347 if (prog->progress != 0 && prog->elapsed_seconds > 10) { in mfi_display_progress() 350 prog->progress - prog->elapsed_seconds; in mfi_display_progress()
|
H A D | mfi_volume.c | 453 warnx("volume progress: %s", ac > 2 ? "extra arguments" : in volume_progress() 482 if (info.progress.active & MFI_LD_PROGRESS_CC) in volume_progress() 483 mfi_display_progress("Consistency Check", &info.progress.cc); in volume_progress() 484 if (info.progress.active & MFI_LD_PROGRESS_BGI) in volume_progress() 485 mfi_display_progress("Background Init", &info.progress.bgi); in volume_progress() 486 if (info.progress.active & MFI_LD_PROGRESS_FGI) in volume_progress() 487 mfi_display_progress("Foreground Init", &info.progress.fgi); in volume_progress() 488 if (info.progress.active & MFI_LD_PROGRESS_RECON) in volume_progress() 489 mfi_display_progress("Reconstruction", &info.progress.recon); in volume_progress() 490 if ((info.progress.active & (MFI_LD_PROGRESS_CC | MFI_LD_PROGRESS_BGI | in volume_progress() [all …]
|
/freebsd/usr.bin/dpv/ |
H A D | dpv.1 | 30 .Nd stream data from stdin or multiple paths with dialog progress view 56 provides a dialog progress view, allowing a user to see current throughput rate 85 progress is displayed using one of 99 below the file progress indicator(s). 174 progress indicators per screen. 176 If negative, only display the main progress indicator. 193 .Pq only the large overall progress indicator is shown . 200 above the file progress indicator(s). 339 Display progress while timing how long it takes
|
/freebsd/contrib/tnftp/src/ |
H A D | progressbar.c | 86 * SIGALRM handler to update the progress meter 117 * Display a transfer progress bar if progress is non-zero. 144 * Work variables for progress bar. 146 * XXX: if the format of the progress bar changes 153 char buf[256]; /* workspace for progress bar */ 155 #define BAROVERHEAD 45 /* non `*' portion of progress bar */ 197 if (progress) { 199 if (quit_time > 0 || progress) { 210 if (!progress) 215 * print progress bar only if we are foreground process. [all …]
|
/freebsd/sys/geom/union/ |
H A D | g_union.h | 66 struct wiplist sc_wiplist; /* I/O work-in-progress list */ 86 * Structure to track work-in-progress I/O operations. 103 long wip_numios; /* BIO_READs in progress */ 110 #define DOING_COMMIT 0x00000001 /* a commit command is in progress */ 112 #define DOING_COMMIT_BITNUM 0 /* a commit command is in progress */ 122 * The writelock is held while a commit operation is in progress.
|
/freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBDebugger.h | 64 /// Get progress data from a SBEvent whose type is eBroadcastBitProgress. 67 /// The event to extract the progress information from. 70 /// The unique integer identifier for the progress to report. 74 /// is a progress started event. If \a completed is equal to \a total, then 75 /// this event is a progress end event. Otherwise completed indicates the 76 /// current progress update. 80 /// is UINT64_MAX, then an indeterminate progress indicator should be 84 /// Set to true if this progress is specific to this debugger only. Many 85 /// progress events are not specific to a debugger instance, like any 86 /// progress events for loading information in modules since LLDB has a [all …]
|