summaryrefslogtreecommitdiffstats
path: root/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/startup_metric_utils/common/pre_read_field_trial_utils_win.h')
-rw-r--r--components/startup_metric_utils/common/pre_read_field_trial_utils_win.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h b/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h
index cacf4b3..a2aaf4a 100644
--- a/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h
+++ b/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h
@@ -21,8 +21,8 @@ using RegisterPreReadSyntheticFieldTrialCallback =
// The options controlled by the PreRead field trial.
struct PreReadOptions {
- // No explicit DLL pre-reading.
- bool no_pre_read;
+ // Pre-read DLLs explicitly.
+ bool pre_read;
// Pre-read DLLs with a high thread priority.
bool high_priority;
@@ -32,6 +32,9 @@ struct PreReadOptions {
// Pre-read DLLs using the ::PrefetchVirtualMemory function, if available.
bool prefetch_virtual_memory;
+
+ // Use a /prefetch argument when launching a process.
+ bool use_prefetch_argument;
};
// Initializes DLL pre-reading options from the registry.